From 8750e11c33893581ea38587e1f9bb89ef8fb4c1b Mon Sep 17 00:00:00 2001 From: axenteoctavian Date: Fri, 22 Nov 2024 15:57:06 +0200 Subject: [PATCH] fixes after review 2 --- factory/runType/errors.go | 7 +++++++ factory/runType/runTypeComponents.go | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 factory/runType/errors.go diff --git a/factory/runType/errors.go b/factory/runType/errors.go new file mode 100644 index 00000000..657663a3 --- /dev/null +++ b/factory/runType/errors.go @@ -0,0 +1,7 @@ +package runType + +import ( + "errors" +) + +var errNilRunTypeComponents = errors.New("nil run type components") diff --git a/factory/runType/runTypeComponents.go b/factory/runType/runTypeComponents.go index c6616574..c960293b 100644 --- a/factory/runType/runTypeComponents.go +++ b/factory/runType/runTypeComponents.go @@ -1,11 +1,5 @@ package runType -import ( - "errors" -) - -var errNilRunTypeComponents = errors.New("nil run type components") - type runTypeComponents struct{} // Close does nothing