mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-18 10:49:30 +00:00
4a1927f2f3
Update K8s packages in go.mod to v0.32.0 Signed-off-by: Praveen M <m.praveen@ibm.com>
9 lines
206 B
Go
9 lines
206 B
Go
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))
|
|
}
|