Documentation
¶
Overview ¶
package main
Index ¶
- Variables
- func CyyList(data []string) *wdg.List
- func DateToTimestamp() []fyne.CanvasObject
- func IsDir(path string) bool
- func IsFile(path string) bool
- func PathExists(path string) bool
- func QuickScreen() *fyne.Container
- func Screen() *fyne.Container
- func Show(win fyne.Window) fyne.CanvasObject
- func TexteditUI(win fyne.Window) fyne.CanvasObject
- func TimeNow() ([]fyne.CanvasObject, *time.Ticker)
- func TimestampToDate() []fyne.CanvasObject
- type Cet4
- type Data
- type EntityPoem
- type Ip2region
- type Json2StructUI
- type PoemUI
- type PresiloUI
- type RunSettings
- type Sqlite2Struct
- type Tutorial
- type VisualizerStreamer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Tutorials defines the metadata for each tutorial Tutorials = map[string]Tutorial{ "welcome": {"Welcome", "", welcomeScreen}, "json2Stuct": {"json2Stuct", "Convert json string to golang struct", json2StructUI.Me().layout, }, "Sqlite2Struct": {"Sqlite2Struct", "Convert sqlite table to golang struct", sqlite2Struct.Me().layout, }, "poem": {"poem", "poem from sqlite3 db ", poemUI.Me().layout, }, "ip2region": {"ip2region", "根据ip地址查询 城市Id|国家|区域|省份|城市|ISP https://gitee.com/lionsoul/ip2region ", ip2region.Me().layout, }, "cet4": {"cet4", "cet4 ", cet4ui.Me().layout, }, "notes": {"notes", "notes ", notes.NotesUI, }, "widgets": {"Widgets", "In this section you can see the features available in the toolkit widget set.\n" + "Expand the tree on the left to browse the individual tutorial elements.", widgetScreen, }, "accordion": {"Accordion", "Expand or collapse content panels.", makeAccordionTab, }, "button": {"Button", "Simple widget for user tap handling.", makeButtonTab, }, "card": {"Card", "Group content and widgets.", makeCardTab, }, "entry": {"Entry", "Different ways to use the entry widget.", makeEntryTab, }, "form": {"Form", "Gathering input widgets for data submission.", makeFormTab, }, "input": {"Input", "A collection of widgets for user input.", makeInputTab, }, "text": {"Text", "Text handling widgets.", makeTextTab, }, "toolbar": {"Toolbar", "A row of shortcut icons for common tasks.", makeToolbarTab, }, "progress": {"Progress", "Show duration or the need to wait for a task.", makeProgressTab, }, "containers": {"Containers", "Containers group other widgets and canvas objects, organising according to their layout.\n" + "Standard containers are illustrated in this section, but developers can also provide custom " + "layouts using the fyne.NewContainerWithLayout() constructor.", containerScreen, }, "apptabs": {"AppTabs", "A container to help divide up an application into functional areas.", makeAppTabsTab, }, "tools": {"Tools", "Tools", toolsScreen, }, } // TutorialIndex defines how our tutorials should be laid out in the index tree TutorialIndex = map[string][]string{ "": {"welcome", "widgets", "containers", "tools"}, "tools": {"json2Stuct", "poem", "Sqlite2Struct", "ip2region", "cet4", "notes"}, "widgets": {"accordion", "button", "card", "entry", "form", "input", "text", "toolbar", "progress"}, "containers": {"apptabs"}, } )
View Source
var SUPPORTED_LANGUAGES = []string{
"go",
"js",
"java",
"cs",
"rb",
"py",
"mysql",
}
Functions ¶
func DateToTimestamp ¶
func DateToTimestamp() []fyne.CanvasObject
func PathExists ¶
func Screen ¶
func Screen() *fyne.Container
Package json2struct ... @Time : 2020/1/3 14:28 @Software: GoLand @File : init @Author : Bingo <airplayx@gmail.com> https://hub.fastgit.org/airplayx/gormat/blob/master/internal/app/json2struct/init.go
Screen the json2struct Screen
func Show ¶
func Show(win fyne.Window) fyne.CanvasObject
Show loads a Mandelbrot fractal example window for the specified app context
func TimestampToDate ¶
func TimestampToDate() []fyne.CanvasObject
Types ¶
type EntityPoem ¶
type EntityPoem struct { Title string `orm:"title"` Author string `orm:"author"` Text string `orm:"text"` }
表
type Json2StructUI ¶
type Json2StructUI struct {
// contains filtered or unexported fields
}
func (*Json2StructUI) Me ¶
func (me *Json2StructUI) Me() *Json2StructUI
type RunSettings ¶
type RunSettings struct { InputPaths []string OutputPath string Language string Module string ListLanguages bool TabStyle string UnsafeModule bool // contains filtered or unexported fields }
func ParseRunSettings ¶
func ParseRunSettings() (*RunSettings, error)
type Sqlite2Struct ¶
type Sqlite2Struct struct {
// contains filtered or unexported fields
}
func (*Sqlite2Struct) Me ¶
func (me *Sqlite2Struct) Me() *Sqlite2Struct
type Tutorial ¶
type Tutorial struct {
Title, Intro string
View func(w fyne.Window) fyne.CanvasObject
}
Tutorial defines the data structure for a tutorial
type VisualizerStreamer ¶
func (*VisualizerStreamer) Err ¶
func (v *VisualizerStreamer) Err() error
Source Files
¶
- RunSettings.go
- calc.go
- cet4.go
- clock.go
- code_generator.go
- container.go
- data.go
- filetree.go
- fractal.go
- goquery.go
- hanzi2pinyin.go
- icons.go
- ip2region.go
- json2goStruct.go
- matcher.go
- player.go
- poem.go
- sqlite2goStruct.go
- temperature_converter.go
- textedit.go
- time2date.go
- tools.go
- walker.go
- welcome.go
- widget.go
Click to show internal directories.
Click to hide internal directories.