Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CasePayload ¶
type CasePayload struct { CreatedAt string `json:"date"` Location postgres.Jsonb `json:"location"` DataDetail postgres.Jsonb `json:"data_detail"` }
CasePayload main payload for creation
type DataDetailDefs ¶
type DataDetailDefs map[string]interface{}
DataDetailDefs map custom json data data_detail
type LocationDefs ¶
type LocationDefs struct { ProvinsiMain string `json:"provinsi_main,omitempty"` Provinsi string `json:"provinsi,omitempty"` KotaKabupaten string `json:"kota_kabupaten,omitempty"` }
LocationDefs mapping custom json data location
Click to show internal directories.
Click to hide internal directories.