base_struct

package
v1.0.18 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DbConfig DbConfig
	GormDb   *gorm.DB
}

type CustomModelCheck

type CustomModelCheck func(modelName string, paramValue string, condition string, user map[string]interface{}) bool

type DbConfig

type DbConfig struct {
	Username string
	Password string
	Host     string
	Port     string
	Database string
	Charset  string
	Location string
}

type ValidateError

type ValidateError struct {
	Message string
}

func (ValidateError) Error

func (validateError ValidateError) Error() string

Jump to

Keyboard shortcuts

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