Update dependencies

Signed-off-by: Ciprian Hacman <chacman@microsoft.com>
This commit is contained in:
Ciprian Hacman
2025-04-14 16:52:20 +03:00
committed by Ciprian Hacman
parent be0d387ec1
commit 0f1ee66855
1423 changed files with 102172 additions and 26072 deletions
+8
View 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))
}