From f69f8d1b5c1091f7ef0f1e5b8f8bd44ed87b5cea Mon Sep 17 00:00:00 2001 From: Sergey Solodyagin Date: Tue, 7 May 2024 09:39:29 +0300 Subject: [PATCH] rename module --- .github/workflows/ci.yml | 30 ------------------------------ README.md | 5 +---- go.mod | 8 ++++---- go.sum | 4 ++++ pool.go | 2 +- pool_test.go | 2 +- 6 files changed, 11 insertions(+), 40 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 2b34b06..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: CI - -on: - push: - branches: [ master, v1 ] - pull_request: - branches: [ master, v1 ] - -jobs: - - test: - name: Test - runs-on: ubuntu-22.04 - - strategy: - matrix: - go-version: ["1.19", "1.20"] - - steps: - - - name: Set up Go 1.x - uses: actions/setup-go@v2 - with: - go-version: ${{ matrix.go-version }} - - - name: Check out code into the Go module directory - uses: actions/checkout@v2 - - - name: Test - run: go test -v -race ./... diff --git a/README.md b/README.md index 7f0a118..ad665d0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ -[![Go Reference](https://pkg.go.dev/badge/github.com/andoma-go/puddle/v2.svg)](https://pkg.go.dev/github.com/andoma-go/puddle/v2) -![Build Status](https://github.com/andoma-go/puddle/actions/workflows/ci.yml/badge.svg) - # Puddle Puddle is a tiny generic resource pool library for Go that uses the standard @@ -29,7 +26,7 @@ import ( "log" "net" - "github.com/andoma-go/puddle/v2" + "git.company.lan/gopkg/puddle/v2" ) func main() { diff --git a/go.mod b/go.mod index 4c1af64..efb29b2 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,10 @@ -module github.com/andoma-go/puddle/v2 +module git.company.lan/gopkg/puddle/v2 -go 1.19 +go 1.21.5 require ( - github.com/stretchr/testify v1.8.1 - golang.org/x/sync v0.1.0 + github.com/stretchr/testify v1.9.0 + golang.org/x/sync v0.7.0 ) require ( diff --git a/go.sum b/go.sum index 96e82f8..73eadfc 100644 --- a/go.sum +++ b/go.sum @@ -10,8 +10,12 @@ github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKsk= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/pool.go b/pool.go index dde8cf0..c65eab5 100644 --- a/pool.go +++ b/pool.go @@ -7,7 +7,7 @@ import ( "sync/atomic" "time" - "github.com/andoma-go/puddle/v2/internal/genstack" + "git.company.lan/gopkg/puddle/v2/internal/genstack" "golang.org/x/sync/semaphore" ) diff --git a/pool_test.go b/pool_test.go index bd4e0a4..cecc77a 100644 --- a/pool_test.go +++ b/pool_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "github.com/andoma-go/puddle/v2" + "git.company.lan/gopkg/puddle/v2" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "golang.org/x/sync/semaphore"