Documentation ¶
Index ¶
- func InteroperableExportXml(tx *sqlx.Tx, w io.Writer, databaseId int, lang string) (dbInfos_ *model.DatabaseFullInfos, err error)
- func SitesAsCSV(dbInfos *model.DatabaseFullInfos, siteIDs []int, isoCode string, ...) (outp string, err error)
- func SitesAsOmeka(databaseId int, chronoId int, isoCode string, tx *sqlx.Tx) (sites string, caracs string, err error)
- type Chronocached
- type Geom
- type MyDatabase
- type MySite
- type MySiteRangeCharac
- type MySite_range
- type MyUser
- type StringL
- type XsiTyped
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InteroperableExportXml ¶
Types ¶
type Chronocached ¶
type MyDatabase ¶
type MyDatabase struct { model.Database Sites []MySite `json:"sites"` Database_trs []model.Database_tr `json:"database_trs"` Database_contexts []model.Database_context `json:"database_contexts"` OwnerUser model.User `json:"owneruser"` Authors []MyUser `json:"authors"` Default_language_tr model.Lang_tr `json:"default_language_tr"` License model.License `json:"license"` }
type MySite ¶
type MySite struct { model.Site Site_ranges []MySite_range `json:"site_ranges"` Site_trs []model.Site_tr `json:"site_trs"` St_latitude float64 `json:"st_latitude"` St_latitude3d float64 `json:"st_latitude3d"` St_longitude float64 `json:"st_longitude"` St_longitude3d float64 `json:"st_longitude3d"` St_altitude float64 `json:"st_altitude"` St_altitude3d float64 `json:"st_altitude3d"` }
type MySiteRangeCharac ¶
type MySiteRangeCharac struct { model.Site_range__charac Charac model.Charac `json:"charac"` Charac_trs []model.Charac_tr `json:"charac_trs"` Site_range__charac_trs []model.Site_range__charac_tr `json:"srcharactrs"` }
type MySite_range ¶
type MySite_range struct { model.Site_range SiteRangeCharacs []MySiteRangeCharac `json:"site_range__characs"` }
Click to show internal directories.
Click to hide internal directories.