mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 17:15:31 +00:00
Fonts + Only Pointers in sync.Maps
This commit is contained in:
@@ -5,12 +5,12 @@ import (
|
||||
)
|
||||
|
||||
type PieceViewModel struct {
|
||||
xmlprovider.Piece
|
||||
*xmlprovider.Piece
|
||||
// TODO: this is a bit hacky, but it refences the page number of the piece in the issue
|
||||
Von int
|
||||
Bis int
|
||||
}
|
||||
|
||||
func NewPieceView(p xmlprovider.Piece) (PieceViewModel, error) {
|
||||
func NewPieceView(p *xmlprovider.Piece) (PieceViewModel, error) {
|
||||
return PieceViewModel{Piece: p}, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user