Documentation ¶
Overview ¶
Package filecmd implements the file sub command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Permit ¶
type Permit struct { LocationID int `csv:"locationid"` Applicant string `csv:"Applicant"` FacilityType string `csv:"FacilityType,omitempty"` CNN int `csv:"cnn,omitempty"` LocationDescription string `csv:"LocationDescription.omitempty"` Address string `csv:"Address,omitempty"` BlockLot string `csv:"blocklot,omitempty"` Block string `csv:"block,omitempty"` Lot string `csv:"lot,omitempty"` Permit string `csv:"permit"` Status string `csv:"Status"` FoodItems string `csv:"FoodItems,omitempty"` X float64 `csv:"X,omitempty"` Y float64 `csv:"Y,omitempty"` Latitude float64 `csv:"Latitude,omitempty"` Longitude float64 `csv:"Longitude,omitempty"` Schedule string `csv:"Schedule"` Dayshours string `csv:"dayshours,omitempty"` NOISent time.Time `csv:"NOISent,omitempty"` Approved time.Time `csv:"Approved,omitempty"` Received time.Time `csv:"Received,omitempty"` PriorPermit int `csv:"PriorPermit,omitempty"` ExpirationDate time.Time `csv:"ExpirationDate,omitempty"` Location string `csv:"Location,omitempty"` }
Permit represents a CSV file permit record. REF: https://data.sfgov.org/Economy-and-Community/Mobile-Food-Facility-Permit/rqzj-sfat
type Schedule ¶
type Schedule struct { DayOrder int `csv:"DayOrder,omitempty"` DayOfWeekStr string `csv:"DayOfWeekStr,omitempty"` StartTime string `csv:"starttime,omitempty"` EndTime string `csv:"endtime,omitempty"` Permit string `csv:"permit"` Location string `csv:"PermitLocation,omitempty"` LocationDesc string `csv:"locationdesc,omitempty"` OptionalText string `csv:"optionaltext,omitempty"` LocationID int `csv:"locationid"` ScheduleID int `csv:"scheduleid,omitempty"` Start24 string `csv:"start24"` End24 string `csv:"end24,omitempty"` CNN int `csv:"CNN,omitempty"` AddrDateCreate time.Time `csv:"Addr_Date_Create,omitempty"` AddrDateModified time.Time `csv:"Addr_Date_Modified,omitempty"` Block string `csv:"block,omitempty"` Lot string `csv:"lot,omitempty"` ColdTruck string `csv:"ColdTruck,omitempty"` Applicant string `csv:"Applicant"` X float64 `csv:"X,omitempty"` Y float64 `csv:"Y,omitempty"` Latitude float64 `csv:"Latitude,omitempty"` Longitude float64 `csv:"Longitude,omitempty"` Location2 string `csv:"Location,omitempty"` }
Schedule represents a CSV file schedule record. REF: https://data.sfgov.org/Economy-and-Community/Mobile-Food-Schedule/jjew-r69b
Click to show internal directories.
Click to hide internal directories.