mirror of https://github.com/go-gitea/gitea
Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
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.
21 lines
424 B
21 lines
424 B
8 years ago
|
// 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.
|
||
|
|
||
6 years ago
|
package structs
|
||
8 years ago
|
|
||
8 years ago
|
// Bool return address of bool value
|
||
8 years ago
|
func Bool(v bool) *bool {
|
||
|
return &v
|
||
|
}
|
||
|
|
||
8 years ago
|
// String return address of string value
|
||
8 years ago
|
func String(v string) *string {
|
||
|
return &v
|
||
|
}
|
||
|
|
||
8 years ago
|
// Int64 return address of int64 value
|
||
8 years ago
|
func Int64(v int64) *int64 {
|
||
|
return &v
|
||
|
}
|