Add 'backend/' from commit '4b5069d17945252abee2a826818098906af56334'
git-subtree-dir: backend git-subtree-mainline:9c93274511git-subtree-split:4b5069d179
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
package types
|
||||
|
||||
type ProjetShort struct {
|
||||
Id int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ShortDescriptionFr string `json:"shortdescriptionfr"`
|
||||
Technologies []string `json:"technologies"`
|
||||
|
||||
}
|
||||
|
||||
type Projetcreate struct {
|
||||
Name string `json:"name"`
|
||||
ShortDescription string `json:"shortdescriptionfr"`
|
||||
}
|
||||
|
||||
type ProjetFull struct {
|
||||
Id int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
ShortDescriptionFr string `json:"shortdescriptionfr"`
|
||||
LongDescriptionFr string `json:"longdescriptionfr"`
|
||||
ShortDescriptionEn string `json:"shortdescriptionen"`
|
||||
LongDescriptionEn string `json:"longdescriptionen"`
|
||||
LinkGithub string `json:"linkGithub"`
|
||||
LinkWeb string `json:"linkWeb"`
|
||||
Technologies []string `json:"technologies"`
|
||||
}
|
||||
|
||||
type Projets struct {
|
||||
Projets []ProjetShort `json:"projets"`
|
||||
Count int `json:"count"`
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package types
|
||||
|
||||
type TechnologieShort struct {
|
||||
Id int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
|
||||
}
|
||||
|
||||
type TechnologieCreate struct {
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type TechnologieFull struct {
|
||||
Id int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
}
|
||||
|
||||
type Technologies struct {
|
||||
Technologies []TechnologieShort `json:"technologies"`
|
||||
Count int `json:"count"`
|
||||
}
|
||||
Reference in New Issue
Block a user