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 package config
import common_utils "nettools/common" import common_utils "git.mic.pp.ua/anderson/nettools/common"
type FileTLS struct { type FileTLS struct {
Enable bool `yaml:"enable" json:"enable"` Enable bool `yaml:"enable" json:"enable"`

View File

@ -1,6 +1,6 @@
package config package config
import common_utils "nettools/common" import common_utils "git.mic.pp.ua/anderson/nettools/common"
type FileRange[T common_utils.Num] struct { type FileRange[T common_utils.Num] struct {
Begin T `json:"begin" yaml:"begin"` Begin T `json:"begin" yaml:"begin"`

View File

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

View File

@ -3,7 +3,7 @@ package ds_utils
import ( import (
"sync" "sync"
common "nettools/common" common "git.mic.pp.ua/anderson/nettools/common"
) )
type IIdSyncMap[IDType common.Int, ItemType any] interface { type IIdSyncMap[IDType common.Int, ItemType any] interface {

View File

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

View File

@ -3,7 +3,7 @@ package ds_utils
import ( import (
"context" "context"
common "nettools/common" common "git.mic.pp.ua/anderson/nettools/common"
) )
// RunWorkerPool is a single function worker pool implementation // RunWorkerPool is a single function worker pool implementation

View File

@ -5,8 +5,8 @@ import (
"math/rand" "math/rand"
"testing" "testing"
common_utils "nettools/common" common_utils "git.mic.pp.ua/anderson/nettools/common"
ds_utils "nettools/data_structures" ds_utils "git.mic.pp.ua/anderson/nettools/data_structures"
) )
func BenchmarkWorkerPool(b *testing.B) { func BenchmarkWorkerPool(b *testing.B) {

2
env/env.go vendored
View File

@ -5,7 +5,7 @@ import (
"os" "os"
"strings" "strings"
common "nettools/common" common "git.mic.pp.ua/anderson/nettools/common"
) )
func Getenv(envName string) (env string, ok bool) { 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 go 1.23.1

View File

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

View File

@ -1,7 +1,7 @@
package net_utils package net_utils
import ( import (
common_utils "nettools/common" common_utils "git.mic.pp.ua/anderson/nettools/common"
) )
type IPortRange common_utils.IRange[int] type IPortRange common_utils.IRange[int]

View File

@ -3,9 +3,9 @@ package pgUtils
import ( import (
"context" "context"
"errors" "errors"
reflectUtils "git.mic.pp.ua/anderson/nettools/reflect"
"github.com/jackc/pgx/v5" "github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgxpool" "github.com/jackc/pgx/v5/pgxpool"
reflectUtils "nettools/reflect"
) )
var ( var (