modelsv2

package
v0.0.0-...-6dfde0d Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2017 License: GPL-3.0 Imports: 2 Imported by: 0

README

Models.V2

This directory is meant as a progressive enhancement to Partisan's models. These models are only meant to be used with API.V2. Do not use them in API.V1!

Goals

  • Enhanced content security
  • Standardized methods for looking up and changing content

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUUIDFormat = errors.New("This UUID is not formatted correctly")
)

Functions

This section is empty.

Types

type ValidationErrors

type ValidationErrors map[string]error

ValidationErrors is a slice of errors for when model initialization fails validation tests. It implements the Error interface.

func (ValidationErrors) Error

func (errs ValidationErrors) Error() string

Directories

Path Synopsis
Package posts contains functionality to create, find, and update posts, comments and likes.
Package posts contains functionality to create, find, and update posts, comments and likes.

Jump to

Keyboard shortcuts

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