mirror of https://github.com/go-gitea/gitea.git
24 lines
461 B
Go
24 lines
461 B
Go
// Copyright 2020 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
//go:build bindata
|
|
|
|
//go:generate go run ../../build/generate-bindata.go ../../options bindata.dat
|
|
|
|
package options
|
|
|
|
import (
|
|
"sync"
|
|
|
|
_ "embed"
|
|
|
|
"code.gitea.io/gitea/modules/assetfs"
|
|
)
|
|
|
|
//go:embed bindata.dat
|
|
var bindata []byte
|
|
|
|
var BuiltinAssets = sync.OnceValue(func() *assetfs.Layer {
|
|
return assetfs.Bindata("builtin(bindata)", assetfs.NewEmbeddedFS(bindata))
|
|
})
|