Make getter names for reflector fields idiomatic

This commit is contained in:
Alexander Stephan
2024-10-13 20:53:25 +00:00
parent 468676cb2f
commit fdabcb5141

View File

@@ -121,11 +121,11 @@ type Reflector struct {
UseWatchList *bool UseWatchList *bool
} }
func (r *Reflector) GetName() string { func (r *Reflector) Name() string {
return r.name return r.name
} }
func (r *Reflector) GetTypeDescription() string { func (r *Reflector) TypeDescription() string {
return r.typeDescription return r.typeDescription
} }