craban/model/utils.go

13 lines
200 B
Go
Raw Normal View History

package model
import (
"github.com/google/uuid"
)
2021-09-11 23:06:03 +01:00
func NewString(s string) *string { return &s }
func NewInt(i int) *int { return &i }
func NewID() string {
return uuid.New().String()
}