translaters

package
v0.0.0-...-5f29f73 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterTranslater

func RegisterTranslater(t Translater)

RegisterTranslater is called by each translater

Types

type Translater

type Translater interface {
	Name() string // Name of the translater

	Translate(*r.Session, *pg.DB) error
}

Translater is an interface for every translater that will translate a particular object in the database

func List

func List() []Translater

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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