package service import ( "log" "git.cliffbreak.de/haveachin/go-tsviewer/features/channel" ) func (s Service) Channel(id int) (*channel.Channel, error) { return nil, nil } func (s Service) Channels() ([]*channel.Channel, error) { cc, err := s.Client.Server.ClientList() if err != nil { return nil, err } for _, c := range cc { log.Println(*c) } return nil, nil }