Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
@zzq392342084

Description

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

        AltStyle によって変換されたページ (->オリジナル) /