package name changed

This commit is contained in:
Dmitry Anderson 2024-11-12 09:59:34 +01:00
parent 3586f61719
commit ddd9ee5f34
12 changed files with 13 additions and 13 deletions

View File

@ -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"`

View File

@ -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"`

View File

@ -6,7 +6,7 @@ import (
"io"
"sync"
common "nettools/common"
common "git.mic.pp.ua/anderson/nettools/common"
)
var (

View File

@ -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 {

View File

@ -7,7 +7,7 @@ import (
"sync"
"time"
common "nettools/common"
common "git.mic.pp.ua/anderson/nettools/common"
)
type WorkersCount struct {

View File

@ -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

View File

@ -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) {

2
env/env.go vendored
View File

@ -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) {

2
go.mod
View File

@ -1,4 +1,4 @@
module nettools
module git.mic.pp.ua/anderson/nettools
go 1.23.1

View File

@ -7,7 +7,7 @@ import (
"net"
"net/http"
common_utils "nettools/common"
common_utils "git.mic.pp.ua/anderson/nettools/common"
)
var (

View File

@ -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]

View File

@ -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 (