mirror of https://git.envs.net/envs/getwtxt.git
Ben Morrison 525f339c80 | ||
---|---|---|
.. | ||
README.md | ||
fetch.go | ||
fetch_test.go | ||
init_test.go | ||
integ_test.go | ||
query.go | ||
query_test.go | ||
revive.toml | ||
types.go | ||
user.go | ||
user_test.go |
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:
- Mailing list (patches, discussion)
- Ticket tracker
Notes
-
getwtxt - parent project:
-
twtxt repository:
-
twtxt documentation:
-
twtxt registry documentation: