From be13167b869161b6e19dc3e94835245cdc7911e5 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Tue, 31 Oct 2017 18:09:45 +0100 Subject: Moved all structs exposed by API into apiv1 package Signed-off-by: Sebastien Douheret --- lib/apiv1/sdks.go | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/apiv1/sdks.go (limited to 'lib/apiv1/sdks.go') diff --git a/lib/apiv1/sdks.go b/lib/apiv1/sdks.go new file mode 100644 index 0000000..dfa44e2 --- /dev/null +++ b/lib/apiv1/sdks.go @@ -0,0 +1,11 @@ +package apiv1 + +// SDK Define a cross tool chain used to build application +type SDK struct { + ID string `json:"id" binding:"required"` + Name string `json:"name"` + Profile string `json:"profile"` + Version string `json:"version"` + Arch string `json:"arch"` + Path string `json:"path"` +} -- cgit 1.2.3-korg