mirror of
https://github.com/mustbeperfect/definitive-opensource.git
synced 2026-04-18 16:13:24 +02:00
Populated CLI with initial GO
This commit is contained in:
24
cli/models.go
Normal file
24
cli/models.go
Normal file
@@ -0,0 +1,24 @@
|
||||
package models
|
||||
|
||||
type Subcategory struct {
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
type Platform struct {
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
type Tag struct {
|
||||
Name string `json:"name"`
|
||||
ID string `json:"id"`
|
||||
}
|
||||
|
||||
type Application struct {
|
||||
Name string `json:"name"`
|
||||
RepoURL string `json:"repo_url"`
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
Platforms []string `json:"platforms,omitempty"`
|
||||
Category string `json:"category"`
|
||||
}
|
||||
Reference in New Issue
Block a user