ui

package
v0.0.0-...-4c2a98a Latest Latest
Warning

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

Go to latest
Published: May 13, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CFG_NAME = "gentity_cfg"
View Source
const VERSION = "V1.0.1-20221207-YaoGL"

Variables

This section is empty.

Functions

func FormConfigFromByte

func FormConfigFromByte(fc *FormConfig, bts []byte)

func Run

func Run()

func SetCfg

func SetCfg(fc *FormConfig)

Types

type FormConfig

type FormConfig struct {
	Dbms   string `json:"dbms"`
	Server string `json:"server"`
	Port   string `json:"port"`
	Db     string `json:"db"`
	User   string `json:"user"`
	Pwd    string `json:"pwd"`
	Pkg    string `json:"pkg"`
	Table  string `json:"table"`
	Tpl    string `json:"tpl"`
}

func GetCfg

func GetCfg() *FormConfig

func (*FormConfig) Byte

func (me *FormConfig) Byte() []byte

func (*FormConfig) String

func (me *FormConfig) String() string

type FormUI

type FormUI struct {
	// contains filtered or unexported fields
}

func NewFormUI

func NewFormUI() *FormUI

func (*FormUI) Build

func (me *FormUI) Build(fc *FormConfig) fyne.CanvasObject

Jump to

Keyboard shortcuts

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