Explorar o código

update readme

wenzl %!s(int64=8) %!d(string=hai) anos
pai
achega
e50fd5fa29
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -514,10 +514,10 @@ fmt.Println(cfg)
 
 ```go
 type Config struct {
-	AppID     string
-	TimeStamp int64
-	NonceStr  string
-	Signature string
+	AppID     string `json:"app_id"`
+	Timestamp int64  `json:"timestamp"`
+	NonceStr  string `json:"nonce_str"`
+	Signature string `json:"signature"`
 }
 
 ```