From 591ba35088c21de0d1c49ce28bb5cb9b578358e4 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Tue, 12 Oct 2021 23:16:18 +0200 Subject: [PATCH] refactor: move package to pkg --- cmd/rc-road/rc-road.go | 2 +- {part => pkg/part}/opencv.go | 0 {part => pkg/part}/opencv_test.go | 0 {part => pkg/part}/part.go | 0 {part => pkg/part}/part_test.go | 0 {part => pkg/part}/testdata/image.jpg | Bin {part => pkg/part}/testdata/image2.jpg | Bin {part => pkg/part}/testdata/image3.jpg | Bin {part => pkg/part}/testdata/image4.jpg | Bin {part => pkg/part}/testdata/image5.jpg | Bin 10 files changed, 1 insertion(+), 1 deletion(-) rename {part => pkg/part}/opencv.go (100%) rename {part => pkg/part}/opencv_test.go (100%) rename {part => pkg/part}/part.go (100%) rename {part => pkg/part}/part_test.go (100%) rename {part => pkg/part}/testdata/image.jpg (100%) rename {part => pkg/part}/testdata/image2.jpg (100%) rename {part => pkg/part}/testdata/image3.jpg (100%) rename {part => pkg/part}/testdata/image4.jpg (100%) rename {part => pkg/part}/testdata/image5.jpg (100%) diff --git a/cmd/rc-road/rc-road.go b/cmd/rc-road/rc-road.go index 0ebbe01..cb558f0 100644 --- a/cmd/rc-road/rc-road.go +++ b/cmd/rc-road/rc-road.go @@ -3,7 +3,7 @@ package main import ( "flag" "github.com/cyrilix/robocar-base/cli" - "github.com/cyrilix/robocar-road/part" + "github.com/cyrilix/robocar-road/pkg/part" "go.uber.org/zap" "log" "os" diff --git a/part/opencv.go b/pkg/part/opencv.go similarity index 100% rename from part/opencv.go rename to pkg/part/opencv.go diff --git a/part/opencv_test.go b/pkg/part/opencv_test.go similarity index 100% rename from part/opencv_test.go rename to pkg/part/opencv_test.go diff --git a/part/part.go b/pkg/part/part.go similarity index 100% rename from part/part.go rename to pkg/part/part.go diff --git a/part/part_test.go b/pkg/part/part_test.go similarity index 100% rename from part/part_test.go rename to pkg/part/part_test.go diff --git a/part/testdata/image.jpg b/pkg/part/testdata/image.jpg similarity index 100% rename from part/testdata/image.jpg rename to pkg/part/testdata/image.jpg diff --git a/part/testdata/image2.jpg b/pkg/part/testdata/image2.jpg similarity index 100% rename from part/testdata/image2.jpg rename to pkg/part/testdata/image2.jpg diff --git a/part/testdata/image3.jpg b/pkg/part/testdata/image3.jpg similarity index 100% rename from part/testdata/image3.jpg rename to pkg/part/testdata/image3.jpg diff --git a/part/testdata/image4.jpg b/pkg/part/testdata/image4.jpg similarity index 100% rename from part/testdata/image4.jpg rename to pkg/part/testdata/image4.jpg diff --git a/part/testdata/image5.jpg b/pkg/part/testdata/image5.jpg similarity index 100% rename from part/testdata/image5.jpg rename to pkg/part/testdata/image5.jpg