mirror of
https://github.com/alibaba/higress.git
synced 2026-05-08 04:17:27 +08:00
Migrate WASM Go Plugins to New SDK and Go 1.24 (#2532)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package util
|
||||
|
||||
import regexp "github.com/wasilibs/go-re2"
|
||||
import "regexp"
|
||||
|
||||
func StripPrefix(s string, prefix string) string {
|
||||
if len(prefix) != 0 && len(s) >= len(prefix) && s[0:len(prefix)] == prefix {
|
||||
|
||||
Reference in New Issue
Block a user