From 856c309e82ae71bda0597bb920e61ec878bc0eb7 Mon Sep 17 00:00:00 2001 From: Marius Merschformann Date: Tue, 20 Feb 2024 00:52:01 +0100 Subject: [PATCH] Addressing remaining linter issues --- check/schema/schema.go | 1 + cmd/main.go | 1 - common/rangecheck.go | 3 +-- schema/input.go | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/check/schema/schema.go b/check/schema/schema.go index 53828d3..dcaceef 100644 --- a/check/schema/schema.go +++ b/check/schema/schema.go @@ -1,3 +1,4 @@ +// Package schema contains the core schemas for nextroute. package schema // Output is the output of the check. diff --git a/cmd/main.go b/cmd/main.go index f83c205..4024755 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -9,7 +9,6 @@ import ( "github.com/nextmv-io/nextroute" "github.com/nextmv-io/nextroute/check" "github.com/nextmv-io/nextroute/factory" - "github.com/nextmv-io/nextroute/schema" "github.com/nextmv-io/sdk/run" runSchema "github.com/nextmv-io/sdk/run/schema" diff --git a/common/rangecheck.go b/common/rangecheck.go index a283922..6517000 100644 --- a/common/rangecheck.go +++ b/common/rangecheck.go @@ -4,9 +4,8 @@ package common import ( "fmt" "math" - "time" - "slices" + "time" nmerror "github.com/nextmv-io/nextroute/common/errors" ) diff --git a/schema/input.go b/schema/input.go index 6384a28..55b8e0d 100644 --- a/schema/input.go +++ b/schema/input.go @@ -5,7 +5,7 @@ import ( "time" ) -// Input is the default input schema for +// Input is the default input schema for nextroute. type Input struct { // Options arbitrary options. Options any `json:"options,omitempty"`