app

package
v0.0.0-...-0834d1b Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

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

func (*App) Init

func (app *App) Init(Type string)

func (*App) InitRouters

func (app *App) InitRouters()

func (*App) Run

func (app *App) Run(addr string)

type Tool

type Tool struct {
	gorm.Model
	Name          string `gorm:"type:varchar(100);unique_index" json:"name"`
	Language      string `"gorm:"not_null" json:"language"`
	Documentation string `gorm:"type:varchar(100)" json:"documentation"`
	Description   string `gorm:"type:varchar(300)" json:"description"`
}

func (Tool) TableName

func (Tool) TableName() string

Jump to

Keyboard shortcuts

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