Sha256: 859a4b0f44e792b8aabdc80dbb07a46dabc3ccd6b4cbfd6252b360e26f270194

Contents?: true

Size: 702 Bytes

Versions: 7

Compression:

Stored size: 702 Bytes

Contents

Prism.languages.go=Prism.languages.extend("clike",{keyword:/\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/g,builtin:/\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\b/g,"boolean":/\b(_|iota|nil|true|false)\b/g,operator:/([(){}\[\]]|[*\/%^!]=?|\+[=+]?|-[>=-]?|\|[=|]?|>[=>]?|<(<|[=-])?|==?|&(&|=|^=?)?|\.(\.\.)?|[,;]|:=?)/g,number:/\b(-?(0x[a-f\d]+|(\d+\.?\d*|\.\d+)(e[-+]?\d+)?)i?)\b/gi,string:/("|'|`)(\\?.|\r|\n)*?\1/g}),delete Prism.languages.go["class-name"];

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hyhyhy-1.0.0 lib/hyhyhy/structure/_includes/prism/components/prism-go.min.js
hyhyhy-0.0.9 lib/hyhyhy/structure/_includes/prism/components/prism-go.min.js
hyhyhy-0.0.8 lib/hyhyhy/structure/_includes/prism/components/prism-go.min.js
hyhyhy-0.0.7 lib/hyhyhy/structure/_includes/prism/components/prism-go.min.js
hyhyhy-0.0.6 lib/hyhyhy/structure/_includes/prism/components/prism-go.min.js
hyhyhy-0.0.5 lib/hyhyhy/structure/_includes/prism/components/prism-go.min.js
hyhyhy-0.0.4 lib/hyhyhy/structure/_includes/prism/components/prism-go.min.js