// Copyright 2015 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.packagegogsimport("net/http")varjsonHeader=http.Header{"content-type":[]string{"application/json"}}funcBool(vbool)*bool{return&v}funcString(vstring)*string{return&v}funcInt64(vint64)*int64{return&v}