types

package
v0.0.0-...-90500bb Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	ID      bson.ObjectId `bson:"_id,omitempty" json:"id" csv:"-"`
	Name    string        `bson:"name,omitempty" form:"name" csv:"name" json:"name" binding:"required"`
	Zip     string        `bson:"zip,omitempty" form:"zip" csv:"zip" json:"zip" binding:"required"`
	Website string        `bson:"website,omitempty" form:"website" csv:"website" json:"website"`
}

Company defaul struct

type CompanyUploadQuery

type CompanyUploadQuery struct {
	Persist bool `bson:"persist" form:"persist" json:"persist"`
}

CompanyUploadQuery schema for uploading CSV files

Jump to

Keyboard shortcuts

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