dao

package
v1.2.45 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *storm.DB
View Source
var DBName string = "default"
View Source
var DBVersion = 1

Functions

func CheckDAOReadyState

func CheckDAOReadyState(table string, action audit.Action, isDaoReady bool)

func GetDBNameFromPath

func GetDBNameFromPath(t string) string

func GetStructType

func GetStructType(data any) string

func Initialise

func Initialise(cfg *commonConfig.Settings) error

func IsValidFieldInStruct

func IsValidFieldInStruct(fromField string, data any) error

func IsValidTypeForField added in v1.2.39

func IsValidTypeForField(field string, data, forStruct any) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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