feat: sync deployed v1.0.0-rc.38-custom.42
Sync production source including routing, billing, Astra detection and public uptime. Update custom build instructions and license packaging.
This commit is contained in:
1 parent
aa6c3f50f4
commit
ceddfd3d6b
828 files changed
+122253
-13702
No files matched your search
+4
-2
@@ -9,6 +9,8 @@ import (
|
||||
"github.com/gin-gonic/gin/binding"
|
||||
)
|
||||
|
||||
type RawMessage = json.RawMessage
|
||||
|
||||
// hostJSONCodec is the single place where the host chooses its JSON engine.
|
||||
// Swap the implementation here (for example to sonic.ConfigStd) and every
|
||||
// common.* and kitutil.* JSON helper, including relaykit DTO (un)marshalling,
|
||||
@@ -73,11 +75,11 @@ func IndentJson(data []byte) ([]byte, error) {
|
||||
return buffer.Bytes(), nil
|
||||
}
|
||||
|
||||
func GetJsonType(data json.RawMessage) string {
|
||||
func GetJsonType(data RawMessage) string {
|
||||
return kitutil.GetJsonType(data)
|
||||
}
|
||||
|
||||
// JsonRawMessageToString returns JSON strings as their decoded value and other JSON values as raw text.
|
||||
func JsonRawMessageToString(data json.RawMessage) string {
|
||||
func JsonRawMessageToString(data RawMessage) string {
|
||||
return kitutil.JsonRawMessageToString(data)
|
||||
}
|
||||
Reference in new issue
Block a user