model

package
v0.0.0-...-b76ee76 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package model provides error standardization for the models.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoResult is when no results are found.
	ErrNoResult = errors.New("Result not found.")
)

Functions

func StandardError

func StandardError(err error) error

StandardError returns a model defined error.

Types

This section is empty.

Directories

Path Synopsis
Package note provides access to the note table in the MySQL database.
Package note provides access to the note table in the MySQL database.
Package user provides access to the user table in the MySQL database.
Package user provides access to the user table in the MySQL database.
Package userstatus provides access to the user_status table in the MySQL database.
Package userstatus provides access to the user_status table in the MySQL database.

Jump to

Keyboard shortcuts

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