diff --git a/lang.go b/language/lang.go similarity index 95% rename from lang.go rename to language/lang.go index d026484..fcda7b2 100644 --- a/lang.go +++ b/language/lang.go @@ -1,4 +1,4 @@ -package main +package language type Lang struct { Name string diff --git a/lang_js.go b/language/lang_js.go similarity index 85% rename from lang_js.go rename to language/lang_js.go index 29c1c4c..3a1b810 100644 --- a/lang_js.go +++ b/language/lang_js.go @@ -1,4 +1,4 @@ -package main +package language var LangJs = &Lang{ Name: "JavaScript", diff --git a/lang_rb.go b/language/lang_rb.go similarity index 84% rename from lang_rb.go rename to language/lang_rb.go index 1c7db09..c2fe30d 100644 --- a/lang_rb.go +++ b/language/lang_rb.go @@ -1,4 +1,4 @@ -package main +package language var LangRuby = &Lang{ Name: "Ruby",