Commits


internal/server: value, not function 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.


internal/server: remove unused certs directory config


internal/server: remove redundant load wrapper


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.


Remove leftover gemini file


cmd/gddo: handle interrupt signals


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 The latest Go toolchain version does not have to match the latest Go stdlib version. Manually compute the latest version instead.


Update dependencies


Update go.mod to Go 1.21


internal/server: Reorder platforms


internal/stdlib: Remove testdata


Update dependencies


go mod tidy


internal/stdlib: Remove unused code


internal/proxy: Use Go toolchains to fetch stdlib


internal/server: Log platform that was fetched


internal/server: Reduce number of platforms


Update about templates


internal/server: Fix error status code


internal/server: Disallow fetching of large modules