Move http module go code to its own package

This commit is contained in:
Sky Johnson 2025-07-16 13:25:18 -05:00
parent e8ad16ccdc
commit 5a5d18ca0e
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
package functions package http
import ( import (
"fmt" "fmt"

View File

@ -3,6 +3,8 @@ package functions
import ( import (
"maps" "maps"
"Moonshark/functions/http"
luajit "git.sharkk.net/Sky/LuaJIT-to-Go" luajit "git.sharkk.net/Sky/LuaJIT-to-Go"
) )
@ -18,7 +20,7 @@ func GetAll() Registry {
maps.Copy(registry, GetMathFunctions()) maps.Copy(registry, GetMathFunctions())
maps.Copy(registry, GetFSFunctions()) maps.Copy(registry, GetFSFunctions())
maps.Copy(registry, GetCryptoFunctions()) maps.Copy(registry, GetCryptoFunctions())
maps.Copy(registry, GetHTTPFunctions()) maps.Copy(registry, http.GetHTTPFunctions())
return registry return registry
} }