Go to file Use this template
Norwin c27a9acd89 upd 2021-09-25 19:58:42 +02:00
.gitea upd 2021-09-25 19:58:42 +02:00
vendor init 2021-09-25 16:19:20 +02:00
.drone.yml upd 2021-09-25 19:44:28 +02:00
Dockerfile upd 2021-09-25 19:44:28 +02:00
Makefile upd 2021-09-25 19:44:28 +02:00
README.md upd 2021-09-25 19:58:42 +02:00
go.mod init 2021-09-25 16:19:20 +02:00
go.sum init 2021-09-25 16:19:20 +02:00
main.go init 2021-09-25 16:19:20 +02:00

template-go-sdk

This is a template repository to quickly get you started developing your own Gitea API-consuming Go application.

A quick guide to use this template:

  1. create a new repo based on this template to get started: 'use this template' button
  2. install a recent golang version
  3. check out and run the example:
    git clone ${REPO_HTTPS_URL}
    cd ${REPO_NAME}
    GITEA_TOKEN=<your token here> go run .
    
    You can get an API token from your Gitea account settings. If you feel adventurous, modify this client instead to obtain a token through username/password authentication!
  4. check out the documentation of Gitea's go-sdk
  5. write your own awesome client!
  6. add your application to awesome-gitea

Once you created your own repo from the template, feel free to delete this disclaimer.

template license

MIT, © The Gitea Authors


${REPO_NAME}

go client interacting with Gitea's API

This repo was bootstrapped with the [{TEMPLATE_NAME}]({TEMPLATE_LINK}) template.

development

make

license

  • vendor/**: see respective licenses