mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-04 06:40:22 +00:00
* golangci-lint: add and apply more stricter linting rules * github: drop security workflow now that we use gosec linter inside golangci-lint * github: use official golangci-lint CI linter * Add editorconfig and gitattributes file
17 lines
337 B
Go
17 lines
337 B
Go
package utils
|
|
|
|
// Deprecated: Please use UnsafeString instead
|
|
func GetString(b []byte) string {
|
|
return UnsafeString(b)
|
|
}
|
|
|
|
// Deprecated: Please use UnsafeBytes instead
|
|
func GetBytes(s string) []byte {
|
|
return UnsafeBytes(s)
|
|
}
|
|
|
|
// Deprecated: Please use CopyString instead
|
|
func ImmutableString(s string) string {
|
|
return CopyString(s)
|
|
}
|