Commit Briefs
internal/server: value, not function (master)
Just checking one string, same name as function, don't need a function.
internal/server, internal/godoc: move more doc building to godoc
Again, shrinking server package so it's easier to test when we refactor database stuff.
all: keep package parsing in the godoc package
The function named buildPackage wasn't really clear what was going on: each named file was being parsed by the Go parser. Parsing files has nothing to do with the server implementation. Moving stuff out of the server package now will make modifying how the server deals interacts with the database easier.
internal/server: squash line
No hard line length limit in Go
internal/proxy, internal/server: don't fetch unused module zip size
It was only ever used for one log message. We still keep the maximum file size to fetch, though, but the server doesn't need to know about it. While here use regular http.Client.Head as only context.TODO was ever provided.
Just use go install
One less dependency to document, and all it did was run a single go command anyway.
all: remove gemini protocol, only support HTTP
For maintainability for poor little me.
internal/proxy: Compute stdlib latest version (tags/1.18.3)
The latest Go toolchain version does not have to match the latest Go stdlib version. Manually compute the latest version instead.
Update dependencies (tags/1.18.2)
internal/server: Reorder platforms (tags/1.18.1)
internal/server: Fix error status code (tags/1.18)