package
Version:
v0.0.0-...-d55fa79
Opens a new window with list of versions in this module.
Published: Sep 14, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Postgres PostgresConfig `json:"postgres"`
ElasticSearch string `json:"elasticsearch"`
ElasticConfig elasticsearch.Config `json:"elastic_config"`
}
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 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 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"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.