workerprofile

package
v0.0.0-...-c5d597e Latest Latest
Warning

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

Go to latest
Published: May 9, 2020 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NOTFILLED  = "not_filled"
	INCOMPLETE = "incomplete"
	COMPLETE   = "complete"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NewProfile

type NewProfile struct {
	WorkerID   uint64 `json:"worker_id"`
	Name       string `json:"name"`
	Birthdate  string `json:"birthdate"`
	City       string `json:"city"`
	Locality   string `json:"locality"`
	Country    string `json:"country"`
	State      string `json:"state"`
	Attributes []int  `json:"attributes"`
}

type Profile

type Profile struct {
	ID         uint64                `json:"id"`
	WorkerID   uint64                `json:"worker_id" db:"worker_id"`
	Name       string                `json:"name"`
	Birthdate  string                `json:"birthdate"`
	City       string                `json:"city"`
	Locality   string                `json:"locality"`
	Country    string                `json:"country"`
	State      string                `json:"state"`
	Attributes filter.GroupedFilters `json:"attributes"`
}

Jump to

Keyboard shortcuts

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