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.

18 lines
430 B

10 years ago
10 years ago
  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)