lolibrary/lolibrary

View on GitHub
service.api.brands/domain/types.go

Summary

Maintainability
A
0 mins
Test Coverage
package domain

type Brand struct {
    Slug      string `json:"slug"`
    ShortName string `json:"short_name"`
    Name      string `json:"name"`
    // Image struct { URL string } should be here
}

type ListBrandsResponse struct {
    Brands []*Brand `json:"brands"`
}