3
1
Fork
You've already forked goteria
0
Simple and easy Soteria Library for Go.
  • Go 100%
2024年11月12日 01:07:44 +01:00
client.go feat, docs: add more routes, add descriptions to functions 2024年11月11日 23:54:33 +01:00
go.mod initial commit :3 2024年10月28日 03:43:59 +01:00
LICENSE chore: add LICENSE 2024年10月28日 03:18:44 +00:00
post.go feat, docs: add more routes, add descriptions to functions 2024年11月11日 23:54:33 +01:00
post_test.go chore: remove TestPosting from testing 2024年10月28日 19:33:19 +01:00
README.md docs: forgor time import in the example 2024年11月11日 23:16:12 +00:00
user.go fix: forgor a & 2024年11月12日 01:07:44 +01:00
user_test.go feat, docs: add more routes, add descriptions to functions 2024年11月11日 23:54:33 +01:00

goteria

Simple and easy Soteria Library for Go.

Installation

Requirements

Instructions

  1. Go get it!!!
go get codeberg.org/soteria/goteria

Usage

import("codeberg.org/soteria/goteria""time""log")funcmain(){client:=goteria.NewClient("https://api.soteria.social",time.Second*5,"<TOKEN>")// You can also leave the token string emptyuser,err:=goteria.FetchUser(client,"ID")iferr!=nil{log.Fatal(err)}log.Println(user.Username)}