Skip to content

Commit

Permalink
feat(new tool): Json to Go
Browse files Browse the repository at this point in the history
Fix #655. Taken from #732
  • Loading branch information
sharevb committed May 5, 2024
1 parent cb5b462 commit 382e828
Show file tree
Hide file tree
Showing 4 changed files with 496 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { tool as asciiTextDrawer } from './ascii-text-drawer';

import { tool as textToUnicode } from './text-to-unicode';
import { tool as safelinkDecoder } from './safelink-decoder';
import { tool as jsonToGo } from './json-to-go';
import { tool as pdfSignatureChecker } from './pdf-signature-checker';
import { tool as numeronymGenerator } from './numeronym-generator';
import { tool as macAddressGenerator } from './mac-address-generator';
Expand Down Expand Up @@ -107,6 +108,7 @@ export const toolsByCategory: ToolCategory[] = [
listConverter,
tomlToJson,
tomlToYaml,
jsonToGo,
],
},
{
Expand Down
12 changes: 12 additions & 0 deletions src/tools/json-to-go/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { Braces } from '@vicons/tabler';
import { defineTool } from '../tool';

export const tool = defineTool({
name: 'JSON to Go',
path: '/json-to-go',
description: 'Convert JSON to Go struct',
keywords: ['json', 'parse', 'go', 'convert', 'transform'],
component: () => import('./json-to-go.vue'),
icon: Braces,
createdAt: new Date('2024-04-02'),
});

0 comments on commit 382e828

Please sign in to comment.