2014-03-06 07:21:44 +00:00
|
|
|
// Copyright 2014 The Gogs Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package base
|
|
|
|
|
|
|
|
type (
|
|
|
|
// Type TmplData represents data in the templates.
|
|
|
|
TmplData map[string]interface{}
|
2014-06-22 17:14:03 +00:00
|
|
|
TplName string
|
2014-05-05 17:08:01 +00:00
|
|
|
|
|
|
|
ApiJsonErr struct {
|
|
|
|
Message string `json:"message"`
|
|
|
|
DocUrl string `json:"documentation_url"`
|
|
|
|
}
|
2014-03-06 07:21:44 +00:00
|
|
|
)
|
2014-04-13 05:57:42 +00:00
|
|
|
|
2014-04-13 08:27:29 +00:00
|
|
|
var GoGetMetas = make(map[string]bool)
|