Documentation ¶
Index ¶
- func ExitWithError(err error)
- func FilenameWithGen(filename string) string
- func FromJson[T any](jsons []string) ([]T, error)
- func GetProjectPackageName(dir string) (string, error)
- func Keys[K comparable, V any](m map[K]V) []K
- func NewMockSqlx() (*sqlx.DB, sqlmock.Sqlmock, error)
- func PointerTo[T any](value T) *T
- func SplitFilename(filename string) (string, string)
- func Values[K comparable, V any](m map[K]V) []V
- type Entry
- type ValidateEntityName
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitWithError ¶
func ExitWithError(err error)
func FilenameWithGen ¶
func GetProjectPackageName ¶
func Keys ¶
func Keys[K comparable, V any](m map[K]V) []K
func NewMockSqlx ¶
func SplitFilename ¶
func Values ¶
func Values[K comparable, V any](m map[K]V) []V
Types ¶
type Entry ¶
type Entry[K comparable, V any] struct { Key K Value V }
func Entries ¶
func Entries[K comparable, V any](m map[K]V) []Entry[K, V]
type ValidateEntityName ¶
func CreateValidateEntityNames ¶
func CreateValidateEntityNames( inclusions []string, exclusions []string, ) (ValidateEntityName, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.