From 56cec1580ad62348f6a55a820ec7b76048a88609 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Thu, 22 Jul 2021 14:25:37 +0200 Subject: [PATCH] refactor: use app-less naming for this struct also --- cli/recipe.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cli/recipe.go b/cli/recipe.go index e54bd2f..d65ea21 100644 --- a/cli/recipe.go +++ b/cli/recipe.go @@ -15,7 +15,7 @@ import ( "github.com/urfave/cli/v2" ) -type AppImage struct { +type Image struct { Image string `json:"image"` Rating string `json:"rating"` Source string `json:"source"` @@ -23,12 +23,12 @@ type AppImage struct { } type Feature struct { - Backups string `json:"backups"` - Email string `json:"email"` - Healthcheck string `json:"healthcheck"` - Image AppImage `json:"image"` - Status int `json:"status"` - Tests string `json:"tests"` + Backups string `json:"backups"` + Email string `json:"email"` + Healthcheck string `json:"healthcheck"` + Image Image `json:"image"` + Status int `json:"status"` + Tests string `json:"tests"` } type Version struct {