models

package
v0.4.3-beta.0...-7b504ae Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2016 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	FormatTo(to interface{}) error
}

type NewPairForm

type NewPairForm struct {
	Left          string   `form:"left" binding:"Required"`
	Right         string   `form:"right" binding:"Required"`
	SyncDel       string   `form:"syncdel"`
	SyncRename    string   `form:"syncrename"`
	CoverSameName string   `form:"cover"`
	IgnoreRules   []string `form:"ignore"`
}

func (NewPairForm) FormatTo

func (f NewPairForm) FormatTo(to interface{}) error

func (*NewPairForm) Validate

func (*NewPairForm) Validate(r *http.Request, e binding.Errors) binding.Errors

type RadioParamError

type RadioParamError struct {
	Field string
	Msg   string
}

func (RadioParamError) Error

func (e RadioParamError) Error() string

Jump to

Keyboard shortcuts

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