Skip to content

Commit

Permalink
fix: update gomemcache
Browse files Browse the repository at this point in the history
Signed-off-by: Achille Roussel <achille.roussel@gmail.com>
  • Loading branch information
achille-roussel committed Jun 11, 2023
1 parent 5c00e8f commit ed38f5e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27
cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg=
cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng=
cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw=
github.com/bradfitz/gomemcache v0.0.0-20230124162541-5f7a7d875746 h1:wAIE/kN63Oig1DdOzN7O+k4AbFh2cCJoKMFXrwRJtzk=
github.com/bradfitz/gomemcache v0.0.0-20230124162541-5f7a7d875746/go.mod h1:H0wQNHz2YrLsuXOZozoeDmnHXkNCRmMW0gwFWDfEZDA=
github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw=
github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI=
github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
Expand Down
4 changes: 1 addition & 3 deletions memcache/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ module github.com/stealthrocket/net/memcache
go 1.20

require (
github.com/bradfitz/gomemcache v0.0.0-20230124162541-5f7a7d875746
github.com/bradfitz/gomemcache v0.0.0-20230611145640-acc696258285
github.com/stealthrocket/net v0.1.2
)

replace github.com/bradfitz/gomemcache => github.com/mar4uk/gomemcache v0.0.0-20221107102512-3adaeb8afff3
2 changes: 2 additions & 0 deletions memcache/go.sum
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
github.com/bradfitz/gomemcache v0.0.0-20230611145640-acc696258285 h1:Dr+ezPI5ivhMn/3WOoB86XzMhie146DNaBbhaQWZHMY=
github.com/bradfitz/gomemcache v0.0.0-20230611145640-acc696258285/go.mod h1:H0wQNHz2YrLsuXOZozoeDmnHXkNCRmMW0gwFWDfEZDA=
github.com/mar4uk/gomemcache v0.0.0-20221107102512-3adaeb8afff3 h1:fODuxBhkSmNhMOD8faRXsUvoYG5rAijY4YYoOEdsXeY=
github.com/mar4uk/gomemcache v0.0.0-20221107102512-3adaeb8afff3/go.mod h1:H0wQNHz2YrLsuXOZozoeDmnHXkNCRmMW0gwFWDfEZDA=
github.com/stealthrocket/net v0.1.2 h1:fxglKhsGrBKMQHiEZuiP2jKyg2WaledYi/G7ijaoAOQ=
Expand Down
1 change: 1 addition & 0 deletions memcache/memcache_wasip1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

func TestMemcache(t *testing.T) {
client := memcache.New("localhost:11211")
defer client.Close()
// Change the dial function so the client uses the WASI socket extensions
// missing from Go 1.21.
client.DialContext = wasip1.DialContext
Expand Down

0 comments on commit ed38f5e

Please sign in to comment.