10000 how to init a gogs-client with gogs.NewClient api? · Issue #86 · gogs/go-gogs-client · GitHub
[go: up one dir, main page]

Skip to content
how to init a gogs-client with gogs.NewClient api? #86
Open
@zzq392342084

Description

@zzq392342084

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", "")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0