2020-01-27 01:05:38 +00:00
|
|
|
// Copyright 2020 The Gitea Authors. All rights reserved.
|
2022-11-27 13:20:29 -05:00
|
|
|
// SPDX-License-Identifier: MIT
|
2020-01-27 01:05:38 +00:00
|
|
|
|
2021-08-24 11:47:09 -05:00
|
|
|
//go:build bindata
|
2020-01-27 01:05:38 +00:00
|
|
|
|
|
|
|
|
package public
|
|
|
|
|
|
2025-06-12 11:59:33 +08:00
|
|
|
//go:generate go run ../../build/generate-bindata.go ../../public bindata.dat
|
|
|
|
|
|
|
|
|
|
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))
|
|
|
|
|
})
|