mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
61aacff444
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.
16 lines
132 B
Go
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
|
|
}
|