getwtxt/registry
Ben Morrison 525f339c80
dealing with time is hard
2020-06-25 00:01:10 -04:00
..
README.md updating module to live at sourcehut 2020-06-20 02:27:31 -04:00
fetch.go dealing with time is hard 2020-06-25 00:01:10 -04:00
fetch_test.go fixed test case for fetching remote registry data 2020-06-21 02:09:34 -04:00
init_test.go updating module to live at sourcehut 2020-06-20 02:27:31 -04:00
integ_test.go updating module to live at sourcehut 2020-06-20 02:27:31 -04:00
query.go updating module to live at sourcehut 2020-06-20 02:27:31 -04:00
query_test.go updating module to live at sourcehut 2020-06-20 02:27:31 -04:00
revive.toml updating module to live at sourcehut 2020-06-20 02:27:31 -04:00
types.go updating module to live at sourcehut 2020-06-20 02:27:31 -04:00
user.go updating module to live at sourcehut 2020-06-20 02:27:31 -04:00
user_test.go updating module to live at sourcehut 2020-06-20 02:27:31 -04:00

README.md

getwtxt/registry

twtxt Registry Library for Go

getwtxt/registry helps you implement twtxt registries in Go. It uses no third-party dependencies whatsoever, only the standard library, and has no global state. Specifying your own http.Client for requests is encouraged, with a sensible default available by passing nil to the constructor.

Using the Library

Just add it to your imports list in the file(s) where it's needed.

import (
  "git.sr.ht/~gbmor/getwtxt/registry"
)

Documentation

The code is commented, so feel free to browse the files themselves. Alternatively, the generated documentation can be found at:

pkg.go.dev/git.sr.ht/~gbmor/getwtxt/registry

Contributions

All contributions are very welcome! Please specify that you are referring to getwtxt/registry when using the following:

Notes