summaryrefslogblamecommitdiffstats
path: root/vendor/github.com/mattermost/mattermost-server/model/builtin.go
blob: 5dd00a96438700304d111db0c92cf6ba8bdfb242 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                   
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.

package model

func NewBool(b bool) *bool       { return &b }
func NewInt(n int) *int          { return &n }
func NewInt64(n int64) *int64    { return &n }
func NewString(s string) *string { return &s }