From bac07fea6d2d4ed5fb7070c51e4cf3e56e3c155a Mon Sep 17 00:00:00 2001 From: Austin Morton Date: Fri, 25 Sep 2020 11:21:30 -0400 Subject: Eliminate all dynamic require statements (#2230) --- lib/compilers/golang.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/compilers/golang.js') diff --git a/lib/compilers/golang.js b/lib/compilers/golang.js index 9c6761f7b..434e3a693 100644 --- a/lib/compilers/golang.js +++ b/lib/compilers/golang.js @@ -43,6 +43,8 @@ const jumpPrefixes = [ ]; class GolangCompiler extends BaseCompiler { + static get key() { return 'golang'; } + convertNewGoL(code) { const re = /^\s+(0[Xx]?[\dA-Za-z]+)?\s?(\d+)\s*\(([^:]+):(\d+)\)\s*([A-Z]+)(.*)/; const reUnknown = /^\s+(0[Xx]?[\dA-Za-z]+)?\s?(\d+)\s*\(\)\s*([A-Z]+)(.*)/; -- cgit v1.2.3