You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

static.go 481B

12345678910111213141516171819202122
  1. // Copyright 2016 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. //go:build bindata
  4. package templates
  5. import (
  6. "time"
  7. "code.gitea.io/gitea/modules/assetfs"
  8. "code.gitea.io/gitea/modules/timeutil"
  9. )
  10. // GlobalModTime provide a global mod time for embedded asset files
  11. func GlobalModTime(filename string) time.Time {
  12. return timeutil.GetExecutableModTime()
  13. }
  14. func BuiltinAssets() *assetfs.Layer {
  15. return assetfs.Bindata("builtin(bindata)", Assets)
  16. }