您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

1234567891011121314151617181920
  1. // Copyright 2015 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 structs
  5. // Bool return address of bool value
  6. func Bool(v bool) *bool {
  7. return &v
  8. }
  9. // String return address of string value
  10. func String(v string) *string {
  11. return &v
  12. }
  13. // Int64 return address of int64 value
  14. func Int64(v int64) *int64 {
  15. return &v
  16. }