reading

package
v0.0.0-...-c17893f Latest Latest
Warning

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

Go to latest
Published: May 27, 2016 License: MIT Imports: 7 Imported by: 0

README

reading engine

Features

  • Dict
  • Notes
  • Epub books

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Db     *gorm.DB        `inject:""`
	Logger *logging.Logger `inject:""`
}

func (*Engine) Assets

func (p *Engine) Assets() error

func (*Engine) Map

func (p *Engine) Map(*inject.Graph) error

func (*Engine) Migrate

func (p *Engine) Migrate()

func (*Engine) Mount

func (p *Engine) Mount(*gin.Engine)

func (*Engine) Seed

func (p *Engine) Seed()

func (*Engine) Shell

func (p *Engine) Shell() []cli.Command

type Note

type Note struct {
	gails.Model
	Title  string `gorm:"not null;index;type:VARCHAR(255)" json:"title"`
	Body   string `gorm:"not null;type:TEXT" json:"body"`
	UserID uint   `gorm:"not null" json:"userId"`
	User   auth.User
}

func (Note) TableName

func (Note) TableName() string

Jump to

Keyboard shortcuts

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