Small underhood changes, linter fixes
This commit is contained in:
@@ -20,6 +20,7 @@ type TheCatAPIinnerStruct struct {
|
||||
// TheCatAPI структурка, описывающая массив, возвращаемый на запрос урла картинки из The Cat API.
|
||||
type TheCatAPI []TheCatAPIinnerStruct
|
||||
|
||||
// APIClient клиент сервиса thecatapi.com.
|
||||
func APIClient(cfg *config.MyConfig) (string, error) {
|
||||
var (
|
||||
ctx = context.Background()
|
||||
|
||||
Reference in New Issue
Block a user