Skip to content

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

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions