Skip to content

Commit

Permalink
ratelimit: Upgrade inet.af/netaddr for compatibility with Go 1.18/1.19
Browse files Browse the repository at this point in the history
The main change is the go4.org/unsafe/assume-no-moving-gc module.

Fixes #8.
  • Loading branch information
RussellLuo committed Sep 10, 2022
1 parent aada34b commit 5680eab
Show file tree
Hide file tree
Showing 2 changed files with 1,569 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ratelimit/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ require (
github.com/caddyserver/caddy/v2 v2.4.5
github.com/hashicorp/golang-lru v0.5.1
go.uber.org/zap v1.19.0
inet.af/netaddr v0.0.0-20211027220019-c74959edd3b6
go4.org/intern v0.0.0-20220617035311-6925f38cc365 // indirect
inet.af/netaddr v0.0.0-20220811202034-502d2d690317
)
Loading

1 comment on commit 5680eab

@Plalyy
Copy link

@Plalyy Plalyy commented on 5680eab Oct 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I also have the panic info 'go4.org/unsafe/assume-no-moving-gc'. Can I ask what caused this?

Please sign in to comment.