Switched to pointer receivers for values

This commit is contained in:
Eduard Urbach 2025-03-01 18:38:00 +01:00
parent 32d81ce98d
commit d185bd9cc0
Signed by: eduard
GPG key ID: 49226B848C78F6C8
17 changed files with 62 additions and 62 deletions

View file

@ -8,10 +8,10 @@ type Label struct {
Label string
}
func (v Label) String() string {
func (v *Label) String() string {
return "Label"
}
func (v Label) Type() types.Type {
func (v *Label) Type() types.Type {
return v.Typ
}