base.go 430 B

123456789101112131415161718
  1. // Copyright 2014 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package base
  5. type (
  6. // Type TmplData represents data in the templates.
  7. TmplData map[string]interface{}
  8. TplName string
  9. ApiJsonErr struct {
  10. Message string `json:"message"`
  11. DocUrl string `json:"documentation_url"`
  12. }
  13. )
  14. var GoGetMetas = make(map[string]bool)