mirror of
https://github.com/containers/podman.git
synced 2025-12-12 01:38:04 +08:00
Update module github.com/go-swagger/go-swagger to v0.32.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
8
test/tools/vendor/github.com/go-openapi/swag/string_bytes.go
generated
vendored
Normal file
8
test/tools/vendor/github.com/go-openapi/swag/string_bytes.go
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
package swag
|
||||
|
||||
import "unsafe"
|
||||
|
||||
// hackStringBytes returns the (unsafe) underlying bytes slice of a string.
|
||||
func hackStringBytes(str string) []byte {
|
||||
return unsafe.Slice(unsafe.StringData(str), len(str))
|
||||
}
|
||||
Reference in New Issue
Block a user