summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-09 02:30:19 +0800
committerKeuin <[email protected]>2022-09-09 02:30:41 +0800
commitf028bff042f471a68dff681af9c79ef96bc952e5 (patch)
tree40763feb1d0ec05260e56d6822622462b35b165a /go.mod
parent719946a8211f3c8c68234a7c9e9c5af0226386aa (diff)
Fix file buffer does not take effect. No idea why golang's io utility is so suck. Use ad-hoc buffered copy loop instead.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod3
1 files changed, 2 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index d6c3e54..670d252 100644
--- a/go.mod
+++ b/go.mod
@@ -7,6 +7,7 @@ require (
github.com/andybalholm/brotli v1.0.4
github.com/lunixbochs/struc v0.0.0-20200707160740-784aaebc1d40
github.com/spf13/viper v1.13.0
+ golang.org/x/exp v0.0.0-20220907003533-145caa8ea1d0
nhooyr.io/websocket v1.8.7
)
@@ -23,7 +24,7 @@ require (
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/subosito/gotenv v1.4.1 // indirect
- golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
+ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect