Skip to content

Commit b4d7917

Browse files
committed
info
1 parent 83edf31 commit b4d7917

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

output/output.go

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ func Output(data []byte, format string) {
1717
}
1818

1919
switch format {
20-
case cli.OptOutputGo:
21-
output.golang()
22-
case cli.OptOutputC:
23-
output.c()
2420
case cli.OptOutputRaw:
2521
output.raw()
22+
case cli.OptOutputGo:
23+
output.golang()
2624
case cli.OptOutputHex:
2725
output.hex()
26+
case cli.OptOutputC:
27+
output.c()
2828
case cli.OptOutputJs:
2929
output.js()
3030
case cli.OptOutputPhp:
@@ -51,7 +51,21 @@ func Output(data []byte, format string) {
5151
}
5252

5353
func (i *output) comment(char string) {
54-
//
54+
// TODO: We need all flags here
55+
/*
56+
C → // comment
57+
Go → // comment
58+
PowerShell → # comment
59+
PHP → // comment or # comment
60+
JavaScript → // comment
61+
Rust → // comment
62+
C# → // comment
63+
Nim → # comment
64+
Zig → // comment
65+
Ruby → # comment
66+
Python → # comment
67+
Java → // comment
68+
*/
5569
}
5670

5771
func (o *output) bytesArray(indentSpaces int, cols int) {

0 commit comments

Comments
 (0)