您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

dynamic.go 392B

12345678910111213141516
  1. // +build !bindata
  2. // Copyright 2016 The Gitea Authors. All rights reserved.
  3. // Use of this source code is governed by a MIT-style
  4. // license that can be found in the LICENSE file.
  5. package public
  6. import (
  7. "gopkg.in/macaron.v1"
  8. )
  9. // Static implements the macaron static handler for serving assets.
  10. func Static(opts *Options) macaron.Handler {
  11. return opts.staticHandler(opts.Directory)
  12. }