mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
Parselog & Issue start
This commit is contained in:
19
providers/xmlprovider/item.go
Normal file
19
providers/xmlprovider/item.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package xmlprovider
|
||||
|
||||
type SerializedItem struct {
|
||||
Source string
|
||||
Date string
|
||||
Commit string
|
||||
}
|
||||
|
||||
func (si SerializedItem) SetSource(s string) {
|
||||
si.Source = s
|
||||
}
|
||||
|
||||
func (si SerializedItem) SetDate(d string) {
|
||||
si.Date = d
|
||||
}
|
||||
|
||||
func (si SerializedItem) SetCommit(c string) {
|
||||
si.Commit = c
|
||||
}
|
||||
Reference in New Issue
Block a user