glide-golang

    0熱度

    1回答

    我從Raabbitmq在golang閱讀JSON和在接口映射JSON 我的結構是這樣的,和 type Documents struct { user_id string partner_id []string last_login int } ,我映射在上述結構傳入的JSON,但debugginf爲此,我希望看到的界面排列,我怎麼能打印映射數據陣列(身體在我的情

    4熱度

    1回答

    我正在檢查供應商功能與滑翔。安裝所有軟件包真是太棒了,但我無法設法使用命令在供應商軟件包中找到它們。 go run src/main.go src/main.go:8:2: cannot find package "github.com/valyala/fasthttp" in any of: /home/joaonrb/.software/lib/go/go1.7/src/gith

    1熱度

    2回答

    我試着安裝https://github.com/btcsuite/btcd 我跟着指示(與添加須藤除外)由第一安裝滑行,像這樣 sudo go get -u github.com/Masterminds/glide 然後我克隆回購到相應的文件夾,像這樣 git clone https://github.com/btcsuite/btcd $GOPATH/src/github.com/btcsuit

    0熱度

    1回答

    依賴是圍棋的一個問題,但是這是新的東西:直接依賴於庫B和C 圖書館B 應用A直接取決於庫C 如果我們在應用代碼A中有這樣的事情: funcyInstance := &C.FuncyObject{} B.CleverFunction(funcyInstance) 當LIB B: func CleverFunction(arg *C.FuncyObject) {} 它提出了一個錯誤: can

    0熱度

    1回答

    我在使用golang開發我的網頁時遇到問題。 服務器文件(main.go): package main import ( "net/http" "io/ioutil" "strings" "log" ) type MyHandler struct { } func (this *MyHandler) ServeHTTP(w http.Respo