| Server IP : 104.21.25.180 / Your IP : 104.23.197.123 Web Server : Apache/2.4.37 System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64 User : ricodeal ( 1046) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/source-highlight/ |
Upload File : |
# see http://golang.org/ref/spec
include "c_comment.lang"
label = '^[[:blank:]]*[[:alnum:]]+:[[:blank:]]*\z'
(keyword,normal,classname) =
`(\<(?:interface|struct))([[:blank:]]+)([[:alnum:]_]+)`
environment string delim "\"" "\"" escape "\\" begin
specialchar = '\\.'
end
environment string delim "'" "'" escape "\\" begin
specialchar = '\\.'
end
string delim "`" "`" multiline
keyword = "break|case|chan|const|continue|default|defer|else|fallthrough",
"for|func|go|goto|if|import|interface|map|package|range|return",
"select|struct|switch|type|var"
type = "bool",
"uint8|uint16|uint32|uint64|int8|int16|int32|int64|float32|float64|complex64|complex128|byte|rune",
"string"
include "number.lang"
symbol = "+","-","*","/","%","&","\|","^","<<",">>","&^",
"+=","-=","*=","/=","%=","&=","\|=","^=","<<=",">>=","&^=",
"&&","\|\|","<-","++","--","==","<",">","=","!",
"!=","<=",">=",":=","...","(",")","[","]",",",".",";",":"
cbracket = "{|}"
function = '([[:alpha:]]|_)[[:word:]:]*(?=\()'