2021-09-11 20:38:38 +01:00
|
|
|
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 }
|
|
|
|
|
2021-09-11 20:38:38 +01:00
|
|
|
func NewID() string {
|
|
|
|
return uuid.New().String()
|
|
|
|
}
|