From ce4ac4dfc98d0d1f9f16a65037b2c29a8307da72 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Fri, 29 Mar 2019 21:02:36 +0100 Subject: [PATCH] swap from/to in layer --- server/layer/layer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/layer/layer.go b/server/layer/layer.go index adc56df..dd93899 100644 --- a/server/layer/layer.go +++ b/server/layer/layer.go @@ -3,8 +3,8 @@ package layer type Layer struct { Id int `json:"id"` Name string `json:"name"` - To int `json:"to"` From int `json:"from"` + To int `json:"to"` } func FindLayerById(layers []*Layer, id int) *Layer {