constants

package
v0.0.0-...-17fbf12 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2017 License: MIT Imports: 5 Imported by: 1

Documentation

Overview

Package constants generates the constant variables for a model/schema

Index

Constants

This section is empty.

Variables

View Source
var ConstantsTemplate = `` /* 574-byte string literal not displayed */

ConstantsTemplate holds the template for the constant generation

Functions

func Generate

func Generate(s *schema.Schema) ([]byte, error)

Generate generates the constants for given schema/model

Types

This section is empty.

Jump to

Keyboard shortcuts

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