Commit Graph

6 Commits

Author SHA1 Message Date
Tianon Gravi b9a5bd8a9c Add test for sha256sum function 2024-01-22 09:46:30 -08:00
Tianon Gravi 143301cc9e Merge github.com/docker-library/go-dockerlibrary into bashbrew
This adjusts import paths, go.mod, and adds a new "Dockerfile.test" to run the unit tests.
2020-08-19 16:21:07 -07:00
Tianon Gravi 57f0420223 Add new "getenv" templatelib function
Three usages:

- getenv "FOO"
- getenv "FOO" "default"
- getenv "FOO" "set" "unset"
2017-07-12 16:06:44 -07:00
Tianon Gravi 3da366f1ac Rename example functions so they actually show up 2017-04-03 12:29:03 -07:00
Tianon Gravi fa89a44b4d Rename example functions so they show up in godoc properly 2017-04-03 12:25:50 -07:00
Tianon Gravi 8177bb8839 Add some examples/tests for "pkg/templatelib" (94.9% coverage) 2017-04-03 12:20:49 -07:00