github.com/wgh-/mattermost-server@v4.8.0-rc2+incompatible/model/builtin.go (about)

     1  // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
     2  // See License.txt for license information.
     3  
     4  package model
     5  
     6  func NewBool(b bool) *bool       { return &b }
     7  func NewInt(n int) *int          { return &n }
     8  func NewInt64(n int64) *int64    { return &n }
     9  func NewString(s string) *string { return &s }