fiberforge

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JSON_MATERIAL int = iota
	FILE_MATERIAL
)

Variables

View Source
var FileMaterial = materialType{
	// contains filtered or unexported fields
}
View Source
var JsonMaterial = materialType{
	// contains filtered or unexported fields
}

Functions

func Forge

func Forge(material Config) error

func Ignite

func Ignite(name string, database string) error

Types

type Config

type Config struct {
	AppName  string                   `json:"appName"`
	Tables   []model.StructDefinition `json:"tables"`
	Database string                   `json:"database"`
}

type Errors

type Errors struct {
	ErrCode int
	Message string
}

custom errors

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳