utils

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2025 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomFieldName

func CustomFieldName(val string) string

func InputEdges

func InputEdges(m *entgql.MutationDescriptor) []*gen.Edge

func LoadSchema

func LoadSchema(config *config.Config)

func NewUUIDV7

func NewUUIDV7() string

func P

func P[T any](val T) *T

func ShouldSkip

func ShouldSkip(n *gen.Type, skipOp string) bool

Types

type OSFileSystem

type OSFileSystem struct {
}

func NewOSFileSystem

func NewOSFileSystem() OSFileSystem

func (OSFileSystem) CopyDirectory

func (fs OSFileSystem) CopyDirectory(from, to string) error

func (OSFileSystem) Create

func (OSFileSystem) Create(name string) (*os.File, error)

func (OSFileSystem) Exit

func (OSFileSystem) Exit(code int)

func (OSFileSystem) Open

func (OSFileSystem) Open(name string) (*os.File, error)

func (OSFileSystem) Remove

func (OSFileSystem) Remove(name string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL