replace zxq.co/ripple/hanayo
This commit is contained in:
9
vendor/github.com/valyala/fasthttp/nocopy.go
generated
vendored
Normal file
9
vendor/github.com/valyala/fasthttp/nocopy.go
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
package fasthttp
|
||||
|
||||
// Embed this type into a struct, which mustn't be copied,
|
||||
// so `go vet` gives a warning if this struct is copied.
|
||||
//
|
||||
// See https://github.com/golang/go/issues/8005#issuecomment-190753527 for details.
|
||||
type noCopy struct{}
|
||||
|
||||
func (*noCopy) Lock() {}
|
Reference in New Issue
Block a user