摘要:
package main import ( "crypto/hmac" "crypto/sha256" "encoding/base64" "encoding/json" "fmt" "io/ioutil" "net/http" "net/url" "strings" "time" ) type S 阅读全文
摘要:
package main import ( "encoding/json" "fmt" ) //定义一个类型 type test struct { Name string `json:"name,omitempty"` Age int `json:"age,omitempty"` } func ma 阅读全文
摘要:
package main import "fmt" //定义一个类型 type tsh struct { //定义成员,类型是func() string test func() string } func main() { t := tsh{ test: func() string { return 阅读全文