diff options
Diffstat (limited to 'timetask')
-rw-r--r-- | timetask/fields.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/timetask/fields.go b/timetask/fields.go index 6d1fa69..991297b 100644 --- a/timetask/fields.go +++ b/timetask/fields.go @@ -34,17 +34,6 @@ type Fields struct { Clients []Client } -// func thingByName(things []interface{}, name string) (*interface{}, error) { -// for _, thing := range things { -// t = IDName(thing.(IDName)) -// if t.Name == name { -// return &thing, nil -// } -// } -// -// return nil, fmt.Errorf("Thing not found") -// } - func (f *Fields) ClientByName(client_name string) (*Client, error) { for _, client := range f.Clients { if client.Name == client_name { |