Selaa lähdekoodia

Golang에도 고속 JSON 라이브러리 사용

잉여개발기 (SPDV) 1 vuosi sitten
vanhempi
sitoutus
181b458145
47 muutettua tiedostoa jossa 174 lisäystä ja 44 poistoa
  1. BIN
      route_go/bin/main.amd64.bin
  2. BIN
      route_go/bin/main.amd64.exe
  3. BIN
      route_go/bin/main.arm64.bin
  4. BIN
      route_go/bin/main.arm64.exe
  5. 3 0
      route_go/go.mod
  6. 8 0
      route_go/go.sum
  7. 4 1
      route_go/route/api_bbs.go
  8. 4 1
      route_go/route/api_bbs_list.go
  9. 4 1
      route_go/route/api_bbs_w.go
  10. 4 1
      route_go/route/api_bbs_w_comment.go
  11. 4 1
      route_go/route/api_edit_move_all.go
  12. 4 1
      route_go/route/api_func_acl.go
  13. 4 1
      route_go/route/api_func_acl_list.go
  14. 4 1
      route_go/route/api_func_auth.go
  15. 4 1
      route_go/route/api_func_auth_post.go
  16. 4 1
      route_go/route/api_func_ban.go
  17. 4 2
      route_go/route/api_func_ip.go
  18. 4 2
      route_go/route/api_func_ip_menu.go
  19. 4 1
      route_go/route/api_func_ip_post.go
  20. 4 1
      route_go/route/api_func_language.go
  21. 3 1
      route_go/route/api_func_llm.go
  22. 4 2
      route_go/route/api_func_sha224.go
  23. 4 1
      route_go/route/api_list_old_page.go
  24. 4 1
      route_go/route/api_list_recent_block.go
  25. 4 1
      route_go/route/api_list_recent_change.go
  26. 4 1
      route_go/route/api_list_recent_discuss.go
  27. 4 1
      route_go/route/api_list_recent_edit_request.go
  28. 4 1
      route_go/route/api_list_title_index.go
  29. 4 1
      route_go/route/api_search.go
  30. 4 1
      route_go/route/api_setting.go
  31. 4 1
      route_go/route/api_setting_delete.go
  32. 4 1
      route_go/route/api_setting_put.go
  33. 4 1
      route_go/route/api_topic.go
  34. 4 1
      route_go/route/api_topic_list.go
  35. 4 1
      route_go/route/api_user_rankup.go
  36. 4 1
      route_go/route/api_user_rankup_patch.go
  37. 4 1
      route_go/route/api_user_setting_editor.go
  38. 4 1
      route_go/route/api_user_setting_editor_delele.go
  39. 4 1
      route_go/route/api_user_setting_editor_insert.go
  40. 4 1
      route_go/route/api_user_watch_list.go
  41. 4 1
      route_go/route/api_w_random.go
  42. 4 1
      route_go/route/api_w_raw.go
  43. 4 1
      route_go/route/api_w_render.go
  44. 4 1
      route_go/route/api_w_set_reset.go
  45. 4 1
      route_go/route/api_w_watch_list.go
  46. 4 1
      route_go/route/api_w_xref.go
  47. 4 1
      route_go/route/tool/language.go

BIN
route_go/bin/main.amd64.bin


BIN
route_go/bin/main.amd64.exe


BIN
route_go/bin/main.arm64.bin


BIN
route_go/bin/main.arm64.exe


+ 3 - 0
route_go/go.mod

@@ -33,7 +33,10 @@ require (
 	github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
 	github.com/googleapis/gax-go/v2 v2.12.3 // indirect
 	github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
+	github.com/json-iterator/go v1.1.12 // indirect
 	github.com/mattn/go-isatty v0.0.20 // indirect
+	github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
+	github.com/modern-go/reflect2 v1.0.2 // indirect
 	github.com/ncruces/go-strftime v0.1.9 // indirect
 	github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
 	go.opencensus.io v0.24.0 // indirect

+ 8 - 0
route_go/go.sum

@@ -65,6 +65,7 @@ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
 github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
 github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
+github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
 github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd h1:gbpYu9NMq8jhDVbvlGkMFWCjLFlqqEZjEmObmhUy6Vo=
 github.com/google/pprof v0.0.0-20240409012703-83162a5b38cd/go.mod h1:kf6iHlnVGwgKolg33glAes7Yg/8iWP8ukqeldJSO7jw=
 github.com/google/s2a-go v0.1.7 h1:60BLSyTrOV4/haCDW4zb1guZItoSq8foHCXrAnjBo/o=
@@ -78,10 +79,16 @@ github.com/googleapis/gax-go/v2 v2.12.3 h1:5/zPPDvw8Q1SuXjrqrZslrqT7dL/uJT2CQii/
 github.com/googleapis/gax-go/v2 v2.12.3/go.mod h1:AKloxT6GtNbaLm8QTNSidHUVsHYcBHwWRvkNFJUQcS4=
 github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k=
 github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
+github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM=
+github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
 github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
 github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
 github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU=
 github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc=
+github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
+github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
+github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
 github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4=
 github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
@@ -92,6 +99,7 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qq
 github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
 github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
 github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
+github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
 github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
 github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
 github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=

+ 4 - 1
route_go/route/api_bbs.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_bbs(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_bbs_list.go

@@ -2,9 +2,10 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func bbs_list(db *sql.DB) map[string]string {
@@ -32,6 +33,8 @@ func bbs_list(db *sql.DB) map[string]string {
 }
 
 func Api_bbs_list(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	db := tool.DB_connect()
 	defer db.Close()
 

+ 4 - 1
route_go/route/api_bbs_w.go

@@ -1,12 +1,15 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_bbs_w(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+	
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_bbs_w_comment.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_bbs_w_comment(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_edit_move_all.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_edit_move_all(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_func_acl.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_acl(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_func_acl_list.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_acl_list(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_func_auth.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_auth(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_func_auth_post.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_auth_post(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_func_ban.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_ban(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 2
route_go/route/api_func_ip.go

@@ -1,12 +1,14 @@
 package route
 
 import (
-	"encoding/json"
-
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_ip(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 2
route_go/route/api_func_ip_menu.go

@@ -1,12 +1,14 @@
 package route
 
 import (
-	"encoding/json"
-
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_ip_menu(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_func_ip_post.go

@@ -1,13 +1,16 @@
 package route
 
 import (
-	"encoding/json"
 	"strconv"
 
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_ip_post(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_func_language.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_language(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := make(map[string]interface{})
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 3 - 1
route_go/route/api_func_llm.go

@@ -3,15 +3,17 @@ package route
 import (
 	"context"
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 
 	"github.com/google/generative-ai-go/genai"
+	jsoniter "github.com/json-iterator/go"
 	"google.golang.org/api/option"
 )
 
 func Api_func_llm(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 2
route_go/route/api_func_sha224.go

@@ -1,12 +1,14 @@
 package route
 
 import (
-	"encoding/json"
-
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_func_sha224(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_list_old_page.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_list_old_page(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_list_recent_block.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_list_recent_block(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_list_recent_change.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_list_recent_change(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_list_recent_discuss.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_list_recent_discuss(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_list_recent_edit_request.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_list_recent_edit_request(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_list_title_index.go

@@ -1,13 +1,16 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_list_title_index(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_search.go

@@ -2,14 +2,17 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"strconv"
 
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_search(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_setting.go

@@ -1,9 +1,10 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Setting_list() map[string]string {
@@ -23,6 +24,8 @@ func Setting_list() map[string]string {
 }
 
 func Api_setting(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_setting_delete.go

@@ -1,12 +1,15 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_setting_delete(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_setting_put.go

@@ -1,12 +1,15 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_setting_put(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_topic.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_topic(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_topic_list.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_topic_list(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_user_rankup.go

@@ -1,10 +1,11 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
 	"strconv"
 	"strings"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func User_rankup_condition(data string) string {
@@ -21,6 +22,8 @@ func User_rankup_condition(data string) string {
 }
 
 func Api_user_rankup(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_user_rankup_patch.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_user_rankup_patch(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_user_setting_editor.go

@@ -1,12 +1,15 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_user_setting_editor(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_user_setting_editor_delele.go

@@ -1,12 +1,15 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_user_setting_editor_delete(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+	
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_user_setting_editor_insert.go

@@ -1,12 +1,15 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_user_setting_editor_post(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_user_watch_list.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_user_watch_list(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_w_random.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_w_random(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	db := tool.DB_connect()
 	defer db.Close()
 

+ 4 - 1
route_go/route/api_w_raw.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_w_raw(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_w_render.go

@@ -1,11 +1,14 @@
 package route
 
 import (
-	"encoding/json"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_w_render(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_w_set_reset.go

@@ -1,12 +1,15 @@
 package route
 
 import (
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_w_set_reset(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_w_watch_list.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_w_watch_list(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/api_w_xref.go

@@ -2,13 +2,16 @@ package route
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"opennamu/route/tool"
 	"strconv"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Api_w_xref(call_arg []string) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	other_set := map[string]string{}
 	json.Unmarshal([]byte(call_arg[0]), &other_set)
 

+ 4 - 1
route_go/route/tool/language.go

@@ -2,12 +2,15 @@ package tool
 
 import (
 	"database/sql"
-	"encoding/json"
 	"log"
 	"os"
+
+	jsoniter "github.com/json-iterator/go"
 )
 
 func Get_language(db *sql.DB, data string, safe bool) string {
+	var json = jsoniter.ConfigCompatibleWithStandardLibrary
+
 	var language string
 
 	err := db.QueryRow(DB_change("select data from other where name = 'language'")).Scan(&language)