Files
Joe ElliottandGitHub 135f266beb Improve/Correct MCP Hints (#5498)
* update mcp dep to latest

Signed-off-by: Joe Elliott <[email protected]>

* hints

Signed-off-by: Joe Elliott <[email protected]>

* test

Signed-off-by: Joe Elliott <[email protected]>

* add deps

Signed-off-by: Joe Elliott <[email protected]>

* test verbiage

Signed-off-by: Joe Elliott <[email protected]>

* sure lint

Signed-off-by: Joe Elliott <[email protected]>

* fix test

Signed-off-by: Joe Elliott <[email protected]>

---------

Signed-off-by: Joe Elliott <[email protected]>
2025-08-08 11:28:43 -04:00

26 lines
479 B
Go

// +build appengine appenginevm
package jsonparser
import (
"strconv"
)
// See fastbytes_unsafe.go for explanation on why *[]byte is used (signatures must be consistent with those in that file)
func equalStr(b *[]byte, s string) bool {
return string(*b) == s
}
func parseFloat(b *[]byte) (float64, error) {
return strconv.ParseFloat(string(*b), 64)
}
func bytesToString(b *[]byte) string {
return string(*b)
}
func StringToBytes(s string) []byte {
return []byte(s)
}