swap from/to in layer
This commit is contained in:
parent
85029cb43d
commit
ce4ac4dfc9
@ -3,8 +3,8 @@ package layer
|
|||||||
type Layer struct {
|
type Layer struct {
|
||||||
Id int `json:"id"`
|
Id int `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
To int `json:"to"`
|
|
||||||
From int `json:"from"`
|
From int `json:"from"`
|
||||||
|
To int `json:"to"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func FindLayerById(layers []*Layer, id int) *Layer {
|
func FindLayerById(layers []*Layer, id int) *Layer {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user