This commit is contained in:
2024-04-09 00:01:28 +03:00
parent b9d24f45ff
commit 37ea64509a
19 changed files with 54 additions and 174 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package main
import (
"fmt"
"github.com/alitto/pond"
"git.company.lan/gopkg/pond"
)
func main() {
+3 -5
View File
@@ -1,9 +1,7 @@
module github.com/alitto/pond/examples/dynamic_size
module git.company.lan/gopkg/pond/examples/dynamic_size
go 1.19
require (
github.com/alitto/pond v1.7.1
)
require git.company.lan/gopkg/pond v0.0.0-00010101000000-000000000000
replace github.com/alitto/pond => ../../
replace git.company.lan/gopkg/pond => ../../
+1 -1
View File
@@ -3,7 +3,7 @@ package main
import (
"fmt"
"github.com/alitto/pond"
"git.company.lan/gopkg/pond"
)
func main() {
+3 -5
View File
@@ -1,9 +1,7 @@
module github.com/alitto/pond/examples/fixed_size
module git.company.lan/gopkg/pond/examples/fixed_size
go 1.19
require (
github.com/alitto/pond v1.7.1
)
require git.company.lan/gopkg/pond v0.0.0-00010101000000-000000000000
replace github.com/alitto/pond => ../../
replace git.company.lan/gopkg/pond => ../../
+3 -5
View File
@@ -1,9 +1,7 @@
module github.com/alitto/pond/examples/group_context
module git.company.lan/gopkg/pond/examples/group_context
go 1.19
require (
github.com/alitto/pond v1.7.1
)
require git.company.lan/gopkg/pond v0.0.0-00010101000000-000000000000
replace github.com/alitto/pond => ../../
replace git.company.lan/gopkg/pond => ../../
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"fmt"
"net/http"
"github.com/alitto/pond"
"git.company.lan/gopkg/pond"
)
func main() {
+3 -3
View File
@@ -1,7 +1,7 @@
module github.com/alitto/pond/examples/pool_context
module git.company.lan/gopkg/pond/examples/pool_context
go 1.19
require github.com/alitto/pond v1.7.1
require git.company.lan/gopkg/pond v0.0.0-00010101000000-000000000000
replace github.com/alitto/pond => ../../
replace git.company.lan/gopkg/pond => ../../
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"os/signal"
"time"
"github.com/alitto/pond"
"git.company.lan/gopkg/pond"
)
// Pressing Ctrl+C while this program is running will cause the program to terminate gracefully.
+3 -3
View File
@@ -1,9 +1,9 @@
module github.com/alitto/pond/examples/fixed_size
module git.company.lan/gopkg/pond/examples/fixed_size
go 1.19
require (
github.com/alitto/pond v1.7.1
git.company.lan/gopkg/pond v0.0.0-00010101000000-000000000000
github.com/prometheus/client_golang v1.11.1
)
@@ -19,4 +19,4 @@ require (
google.golang.org/protobuf v1.33.0 // indirect
)
replace github.com/alitto/pond => ../../
replace git.company.lan/gopkg/pond => ../../
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"net/http"
"time"
"github.com/alitto/pond"
"git.company.lan/gopkg/pond"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
)
+3 -5
View File
@@ -1,9 +1,7 @@
module github.com/alitto/pond/examples/task_group
module git.company.lan/gopkg/pond/examples/task_group
go 1.19
require (
github.com/alitto/pond v1.7.1
)
require git.company.lan/gopkg/pond v0.0.0-00010101000000-000000000000
replace github.com/alitto/pond => ../../
replace git.company.lan/gopkg/pond => ../../
+1 -1
View File
@@ -3,7 +3,7 @@ package main
import (
"fmt"
"github.com/alitto/pond"
"git.company.lan/gopkg/pond"
)
func main() {