template

package
v0.0.0-...-294a70e Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by hero. source: D:\GoProjects\github.com/anden007/afocus-godf\Backend\src\web\template\add.tpl DO NOT EDIT!

Code generated by hero. source: D:\GoProjects\github.com/anden007/afocus-godf\Backend\src\web\template\api.tpl DO NOT EDIT!

Code generated by hero. source: D:\GoProjects\github.com/anden007/afocus-godf\Backend\src\web\template\edit.tpl DO NOT EDIT!

Code generated by hero. source: D:\GoProjects\github.com/anden007/afocus-godf\Backend\src\web\template\table.tpl DO NOT EDIT!

Code generated by hero. source: D:\GoProjects\github.com/anden007/afocus-godf\Backend\src\web\template\tableIndex.tpl DO NOT EDIT!

Code generated by hero. source: D:\GoProjects\github.com/anden007/afocus-godf\Backend\src\web\template\tree.tpl DO NOT EDIT!

Code generated by hero. source: D:\GoProjects\github.com/anden007/afocus-godf\Backend\src\web\template\treeApi.tpl DO NOT EDIT!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(fields []generator.Field, options AddOption, buffer *bytes.Buffer)

func Api

func Api(apiName string, apiPath string, vueName string, buffer *bytes.Buffer)

func Edit

func Edit(fields []generator.Field, options EditOption, buffer *bytes.Buffer)

func Table

func Table(fields []generator.Field, firstTwo []generator.Field, rest []generator.Field, options TableOption, buffer *bytes.Buffer)

func TableIndex

func TableIndex(fields []generator.Field, firstTwo []generator.Field, rest []generator.Field, options TableIndexOption, buffer *bytes.Buffer)

func Tree

func Tree(fields []generator.Field, firstTwo []generator.Field, rest []generator.Field, options TreeOption, buffer *bytes.Buffer)

func TreeApi

func TreeApi(apiName string, apiPath string, vueName string, buffer *bytes.Buffer)

Types

type AddOption

type AddOption struct {
	RowNum          int
	ItemWidth       string
	Width           string
	WangEditorWidth string
	QuillWidth      string
	ApiName         string
	Api             bool
	Upload          bool
	UploadThumb     bool
	WangEditor      bool
	Quill           bool
	Password        bool
}

type EditOption

type EditOption struct {
	RowNum          int
	ItemWidth       string
	Width           string
	WangEditorWidth string
	QuillWidth      string
	ApiName         string
	Api             bool
	Upload          bool
	UploadThumb     bool
	WangEditor      bool
	Quill           bool
	Password        bool
}

type TableIndexOption

type TableIndexOption struct {
	SearchSize      int
	HideSearch      bool
	ApiName         string
	DaterangeSearch bool
	Api             bool
	DefaultSort     string
	DefaultSortType string
}

type TableOption

type TableOption struct {
	RowNum          int
	SearchSize      int
	HideSearch      bool
	ModalWidth      string
	Width           string
	ToQuill         bool
	WangEditorWidth string
	QuillWidth      string
	ApiName         string
	Upload          bool
	UploadThumb     bool
	WangEditor      bool
	Quill           bool
	DaterangeSearch bool
	Password        bool
	VueName         string
	Api             bool
	ItemWidth       string
	DefaultSort     string
	DefaultSortType string
}

type TreeOption

type TreeOption struct {
	RowNum          int
	SearchSize      int
	HideSearch      bool
	ModalWidth      string
	Width           string
	ToQuill         bool
	WangEditorWidth string
	QuillWidth      string
	ApiName         string
	Upload          bool
	UploadThumb     bool
	WangEditor      bool
	Quill           bool
	DaterangeSearch bool
	Password        bool
	VueName         string
	Api             bool
	ItemWidth       string
	EditWidth       string
	Span            int
}

Jump to

Keyboard shortcuts

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