models

package
v0.0.0-...-d55fa79 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Postgres      PostgresConfig       `json:"postgres"`
	ElasticSearch string               `json:"elasticsearch"`
	ElasticConfig elasticsearch.Config `json:"elastic_config"`
}

type Employee

type Employee struct {
	Employee_id    int    `json:"employee_id"`
	Nickname       string `json:"nickname"`
	First_name     string `json:"first_name"`
	Last_name      string `json:"last_name"`
	Street_address string `json:"street_address"`
	City           string `json:"city"`
	State          string `json:"state"`
	Zip            string `json:"zip"`
}

type PostgresConfig

type PostgresConfig struct {
	Host     string `json:"host"`
	Port     int    `json:"port"`
	Database string `json:"database"`
	User     string `json:"user"`
	Password string `json:"password"`
	SSLMode  string `json:"sslmode"`
}

type Task

type Task struct {
	ID          int           `json:"id"`
	Name        string        `json:"name"`
	Description string        `json:"description"`
	Create_time string        `json:"create_time"`
	Owners      pq.Int32Array `json:"owners"`
	Private     bool          `json:"private"`
	Due_by      string        `json:"due_by"`
}

Jump to

Keyboard shortcuts

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