aboutsummaryrefslogtreecommitdiff
path: root/handler.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-09-10Use go embed for templates (#50)Gravatar Luciano Nooijen 1-2/+3
Go 1.16 includes a `//go:embed` directive that obviates the need for bindata. Use `//go:embed` instead of bindata for templates used in sally. Signed-off-by: Luciano Nooijen <luciano@bytecode.nl> Co-authored-by: Abhinav Gupta <abg@uber.com>
2021-05-18Allow setting branch (#46)Gravatar Jan-Philipp Benecke 1-0/+2
Support specifying the branch from which source will be served in the YAML configuration.
2019-03-05Support changing godoc instance (#38)Gravatar Diego Bernardes 1-1/+1
This adds the ability to change the godoc.org instance used by Sally to link to documentation by providing a new `godoc` section in the configuration.
2019-01-03template: Bundle in binary with bindata (#36)Gravatar Abhinav Gupta 1-11/+6
This uses go-bindata/go-bindata to bundle the template in the binary. I also realized that the handler test was now broken because we were checking the exact contents of the index page in the test. This change fixes that too.
2019-01-03Add minimal stylingGravatar Abhinav Gupta 1-27/+12
2016-10-27Enforce alphabetical ordering of packages in YAML config (#22)Gravatar Garrett Squire 1-3/+3
2016-10-12Rework as HTTP server (#15)Gravatar Grayson Koonce 1-0/+88