25 lines
585 B
Go
25 lines
585 B
Go
package main
|
|
|
|
type term_struct struct {
|
|
Months []int `json:"months"`
|
|
Year int `json:"year"`
|
|
}
|
|
|
|
type Query struct {
|
|
Id int `json:"id"`
|
|
Startdate string `json:"startdate"`
|
|
Enddate string `json:"enddate"`
|
|
Location string `json:"location"`
|
|
Description string `json:"description"`
|
|
Contactperson string `json:"contactperson"`
|
|
Contactno string `json:"contactno"`
|
|
Email string `json:"email"`
|
|
Status int `json:"status"`
|
|
Questiondate string `json:"questiondate"`
|
|
}
|
|
|
|
type Term struct {
|
|
Date string `json:"date"`
|
|
Status string `json:"status"`
|
|
Contractno string `json:"contractno"`
|
|
} |