Documentation
¶
Index ¶
- func CreateHelp(db *clover.DB, help Help) error
- func DeleteHelpById(db *clover.DB, helpId string) error
- func UpdateHelp(db *clover.DB, help Help) error
- type Help
- func GetAllHelps(db *clover.DB) ([]*Help, error)
- func GetAllHelpsByAccountId(db *clover.DB, accountId string) ([]*Help, error)
- func GetHelpById(db *clover.DB, helpId string) (Help, error)
- func GetHelpFromDocuments(docs []*document.Document) ([]*Help, error)
- func GetHelpWithFilters(conn *clover.DB, filters map[string][]string, requireGeoJson bool) ([]*Help, error)
- func SearchHelps(conn *clover.DB, filters map[string][]string, requireGeoJson bool) ([]*Help, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateHelp ¶
func DeleteHelpById ¶
func UpdateHelp ¶
Types ¶
type Help ¶
type Help struct { Id string `json:"_id" clover:"_id"` MapObject mapobject.MapObject `json:"map_object" clover:"map_object"` ContactInfos string `json:"contact_infos" clover:"contact_infos"` NeedHelp bool `json:"need_help" clover:"need_help"` HowToHelp string `json:"how_to_help" clover:"how_to_help"` HowToUseHelp string `json:"how_to_use_help" clover:"how_to_use_help"` EventId string `json:"event_id" clover:"event_id"` Exported bool `json:"exported" clover:"exported"` Modified bool `json:"modified" clover:"modified"` DerniereModification time.Time `json:"derniere_modification" clover:"derniere_modification"` }
func GetAllHelps ¶
func GetAllHelpsByAccountId ¶
func GetHelpById ¶
func GetHelpWithFilters ¶
func SearchHelps ¶
func (*Help) FlipCoords ¶
func (help *Help) FlipCoords()
func (*Help) GetModificationDateString ¶
Click to show internal directories.
Click to hide internal directories.