Skip to content

Commit afa2be7

Browse files
committed
add string as predefined type
1 parent 004d0c8 commit afa2be7

File tree

1 file changed

+1
-1
lines changed
  • lib/coderay/scanners

1 file changed

+1
-1
lines changed

lib/coderay/scanners/go.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Go < Scanner
2323
'int8', 'int16', 'int32', 'int64',
2424
'float32', 'float64',
2525
'complex64', 'complex128',
26-
'byte', 'rune',
26+
'byte', 'rune', 'string',
2727
'uint', 'int', 'uintptr',
2828
] # :nodoc:
2929

0 commit comments

Comments
 (0)