gogs / go-gogs-client

Gogs API client in Go.
MIT License
233 stars 145 forks source link

how to init a gogs-client with gogs.NewClient api? #86

Open zzq392342084 opened 6 years ago

zzq392342084 commented 6 years ago

I tried as followed,but it did not work ,should I need to provider a token ? if so,how could I get the token . also,the first url parameter is the gogs web base url ? client := gogs.NewClient("http://192.168.89.200:3000", "")