From ddd9ee5f341dbe65b3a79ba3bbc1dffa6c3e70d5 Mon Sep 17 00:00:00 2001 From: Dmitry Anderson <4nd3r5z0n@gmail.com> Date: Tue, 12 Nov 2024 09:59:34 +0100 Subject: [PATCH] package name changed --- config/common.go | 2 +- config/net.go | 2 +- data_structures/pipe.go | 2 +- data_structures/syncmap.go | 2 +- data_structures/worker_pool.go | 2 +- data_structures/worker_pool_func.go | 2 +- data_structures/worker_pool_test.go | 4 ++-- env/env.go | 2 +- go.mod | 2 +- net/ip.go | 2 +- net/net.go | 2 +- pg/pg.go | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/config/common.go b/config/common.go index 6a10607..d21a6e9 100644 --- a/config/common.go +++ b/config/common.go @@ -1,6 +1,6 @@ package config -import common_utils "nettools/common" +import common_utils "git.mic.pp.ua/anderson/nettools/common" type FileTLS struct { Enable bool `yaml:"enable" json:"enable"` diff --git a/config/net.go b/config/net.go index eb8ea7c..f1c01bc 100644 --- a/config/net.go +++ b/config/net.go @@ -1,6 +1,6 @@ package config -import common_utils "nettools/common" +import common_utils "git.mic.pp.ua/anderson/nettools/common" type FileRange[T common_utils.Num] struct { Begin T `json:"begin" yaml:"begin"` diff --git a/data_structures/pipe.go b/data_structures/pipe.go index 049a98e..64970bd 100644 --- a/data_structures/pipe.go +++ b/data_structures/pipe.go @@ -6,7 +6,7 @@ import ( "io" "sync" - common "nettools/common" + common "git.mic.pp.ua/anderson/nettools/common" ) var ( diff --git a/data_structures/syncmap.go b/data_structures/syncmap.go index e402a12..95271fb 100644 --- a/data_structures/syncmap.go +++ b/data_structures/syncmap.go @@ -3,7 +3,7 @@ package ds_utils import ( "sync" - common "nettools/common" + common "git.mic.pp.ua/anderson/nettools/common" ) type IIdSyncMap[IDType common.Int, ItemType any] interface { diff --git a/data_structures/worker_pool.go b/data_structures/worker_pool.go index d5e707f..d0ffd67 100644 --- a/data_structures/worker_pool.go +++ b/data_structures/worker_pool.go @@ -7,7 +7,7 @@ import ( "sync" "time" - common "nettools/common" + common "git.mic.pp.ua/anderson/nettools/common" ) type WorkersCount struct { diff --git a/data_structures/worker_pool_func.go b/data_structures/worker_pool_func.go index 3dd1695..0beaa64 100644 --- a/data_structures/worker_pool_func.go +++ b/data_structures/worker_pool_func.go @@ -3,7 +3,7 @@ package ds_utils import ( "context" - common "nettools/common" + common "git.mic.pp.ua/anderson/nettools/common" ) // RunWorkerPool is a single function worker pool implementation diff --git a/data_structures/worker_pool_test.go b/data_structures/worker_pool_test.go index b2f82fe..2c42003 100644 --- a/data_structures/worker_pool_test.go +++ b/data_structures/worker_pool_test.go @@ -5,8 +5,8 @@ import ( "math/rand" "testing" - common_utils "nettools/common" - ds_utils "nettools/data_structures" + common_utils "git.mic.pp.ua/anderson/nettools/common" + ds_utils "git.mic.pp.ua/anderson/nettools/data_structures" ) func BenchmarkWorkerPool(b *testing.B) { diff --git a/env/env.go b/env/env.go index 2bb7d71..a0d971d 100644 --- a/env/env.go +++ b/env/env.go @@ -5,7 +5,7 @@ import ( "os" "strings" - common "nettools/common" + common "git.mic.pp.ua/anderson/nettools/common" ) func Getenv(envName string) (env string, ok bool) { diff --git a/go.mod b/go.mod index c480c02..9704584 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module nettools +module git.mic.pp.ua/anderson/nettools go 1.23.1 diff --git a/net/ip.go b/net/ip.go index fc71729..5841d84 100644 --- a/net/ip.go +++ b/net/ip.go @@ -7,7 +7,7 @@ import ( "net" "net/http" - common_utils "nettools/common" + common_utils "git.mic.pp.ua/anderson/nettools/common" ) var ( diff --git a/net/net.go b/net/net.go index 4521bd0..1f2cad4 100644 --- a/net/net.go +++ b/net/net.go @@ -1,7 +1,7 @@ package net_utils import ( - common_utils "nettools/common" + common_utils "git.mic.pp.ua/anderson/nettools/common" ) type IPortRange common_utils.IRange[int] diff --git a/pg/pg.go b/pg/pg.go index 854a8cb..c10a259 100644 --- a/pg/pg.go +++ b/pg/pg.go @@ -3,9 +3,9 @@ package pgUtils import ( "context" "errors" + reflectUtils "git.mic.pp.ua/anderson/nettools/reflect" "github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5/pgxpool" - reflectUtils "nettools/reflect" ) var (