Files
coder/site/site_slim.go
Kyle Carberry 61aacff444 chore: Refactor site to improve testing (#2014)
It was difficult to develop this package due to the
embed build tag being mandatory on the tests. The logic
to test doesn't require any embedded files.
2022-06-03 04:27:21 +00:00

16 lines
132 B
Go

//go:build !embed
// +build !embed
package site
import (
"embed"
"io/fs"
)
var slim embed.FS
func FS() fs.FS {
return slim
}