diff options
author | Radoš Milićev <[email protected]> | 2024-09-26 10:54:01 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2024-09-26 10:54:01 +0200 |
commit | fa58e090db77fb7dfb98d3db6315bf94f4e8e7b9 (patch) | |
tree | 0213dfecd9c647cfebd4c30478869d6d37a9e849 | |
parent | 3393e27083fb55c8a72fae5f84feb9d9981ac912 (diff) | |
download | monkeytype-fa58e090db77fb7dfb98d3db6315bf94f4e8e7b9.tar.gz monkeytype-fa58e090db77fb7dfb98d3db6315bf94f4e8e7b9.zip |
impr(code go): add more keywords to Golang (@rammba) (#5918)
I've added some keywords to Golang mostly based on the following
article: https://go.dev/tour/basics/11
-rw-r--r-- | frontend/static/languages/code_go.json | 55 |
1 files changed, 39 insertions, 16 deletions
diff --git a/frontend/static/languages/code_go.json b/frontend/static/languages/code_go.json index 63a6b8ea9..383e1d261 100644 --- a/frontend/static/languages/code_go.json +++ b/frontend/static/languages/code_go.json @@ -2,30 +2,53 @@ "name": "code_go", "noLazyMode": true, "words": [ + "bool", "break", - "default", - "func", - "interface", - "select", + "byte", "case", - "defer", - "go", - "map", - "struct", "chan", - "else", - "goto", - "package", - "switch", + "complex64", + "complex128", "const", - "fallthrough", - "if", - "range", - "type", "continue", + "default", + "defer", + "else", + "error", + "fallthrough", + "false", + "float32", + "float64", "for", + "func", + "go", + "goto", + "if", "import", + "int8", + "int16", + "int32", + "int64", + "int", + "interface", + "map", + "nil", + "package", + "range", "return", + "rune", + "select", + "string", + "struct", + "switch", + "true", + "type", + "uint8", + "uint16", + "uint32", + "uint64", + "uint", + "uintptr", "var" ] } |