diff --git a/functions/http.go b/functions/http/http.go similarity index 99% rename from functions/http.go rename to functions/http/http.go index 6106cb4..d1efd22 100644 --- a/functions/http.go +++ b/functions/http/http.go @@ -1,4 +1,4 @@ -package functions +package http import ( "fmt" diff --git a/functions/registry.go b/functions/registry.go index 0c0535f..6613d58 100644 --- a/functions/registry.go +++ b/functions/registry.go @@ -3,6 +3,8 @@ package functions import ( "maps" + "Moonshark/functions/http" + luajit "git.sharkk.net/Sky/LuaJIT-to-Go" ) @@ -18,7 +20,7 @@ func GetAll() Registry { maps.Copy(registry, GetMathFunctions()) maps.Copy(registry, GetFSFunctions()) maps.Copy(registry, GetCryptoFunctions()) - maps.Copy(registry, GetHTTPFunctions()) + maps.Copy(registry, http.GetHTTPFunctions()) return registry }