mirror of https://github.com/dtm-labs/dtm.git
1 changed files with 10 additions and 0 deletions
@ -0,0 +1,10 @@ |
|||
package dtmcli |
|||
|
|||
import "github.com/yedf/dtm/common" |
|||
|
|||
func GenGid(server string) string { |
|||
res := common.MS{} |
|||
_, err := common.RestyClient.R().SetResult(&res).Get(server + "/newGid") |
|||
e2p(err) |
|||
return res["gid"] |
|||
} |
|||
Loading…
Reference in new issue