Move http module go code to its own package
This commit is contained in:
parent
e8ad16ccdc
commit
5a5d18ca0e
@ -1,4 +1,4 @@
|
|||||||
package functions
|
package http
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user