diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 3fa17e0..babf75e 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -42,6 +42,9 @@ export default { 'str_to_php_array': 'Str to PHP array', 'php_array_to_json': 'PHP array to Json', }, + 'GO': { + 'go_json_to_struct': 'JSON to Go struct', + }, 'JSON': { 'json_formatter': 'JSON formatter', }, diff --git a/src/router/index.js b/src/router/index.js index 838b29a..e3dbe3e 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -75,6 +75,15 @@ const router = createRouter({ component: () => import('../views/JSONFormatter.vue'), }, + /** + * Golang + */ + { + path: '/go_json_to_struct', + name: 'go_json_to_struct', + component: () => import('../views/GoJSONToStruct.vue'), + }, + /** * SQL manipulation */ diff --git a/src/views/GoJSONToStruct.vue b/src/views/GoJSONToStruct.vue new file mode 100644 index 0000000..489c703 --- /dev/null +++ b/src/views/GoJSONToStruct.vue @@ -0,0 +1,501 @@ + + + + + \ No newline at end of file