12 lines
202 B
Go
12 lines
202 B
Go
package model
|
|
|
|
import (
|
|
"github.com/google/uuid"
|
|
)
|
|
|
|
func NewString(s string) *string { return &s }
|
|
func NewInt(i int) *int { return &i }
|
|
|
|
func NewUUID() string {
|
|
return uuid.New().String()
|
|
}
|