Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
func DefaultSettings ¶
func DefaultSettings()
func ExtractAllLocations ¶
func ExtractAllLocations()
func ExtractInsolvencyPublications ¶
func ExtractInsolvencyPublications()
Fill / update json field for cases into seperate database table to possible create views.
Types ¶
type InsolvencyLocation ¶
type InsolvencyLocation struct { gorm.Model InsolvencyID string `gorm:"index"` Publication time.Time ReportPublication time.Time CaseType int Description string Street string StreetNumber int Addition1 string Addition2 string PostalCode string `gorm:"index"` Town string Name string KvkNumber string Details datatypes.JSON }
func (*InsolvencyLocation) LoadSoap ¶
func (l *InsolvencyLocation) LoadSoap(sl *soap.InsolvencyLocation) error
func (*InsolvencyLocation) TableName ¶
func (r *InsolvencyLocation) TableName() string
type RawCase ¶
type RawCase struct { gorm.Model InsolvencyID string `gorm:"index"` Publication time.Time ReportPublication time.Time CaseType int Description string XML string JSON datatypes.JSON }
func (*RawCase) ParseXML ¶
func (r *RawCase) ParseXML() soap.OperationGetCaseReport
type Report ¶
type Report struct { gorm.Model Insolvencynumber string Court string Publication time.Time PublicationReport time.Time InsolvencyCode string Title string EndReport string InsolvencyID string }
func (*Report) LastPublication ¶
func (r *Report) LastPublication()
func (*Report) OldestPublication ¶
func (r *Report) OldestPublication()
Click to show internal directories.
Click to hide internal directories.