Skip to content

Commit

Permalink
fix: register archiver module.
Browse files Browse the repository at this point in the history
fix #250
  • Loading branch information
aooohan committed May 7, 2024
1 parent ca6a251 commit 90d1b29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/module/archiver/archiver.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package string
package archiver

import (
"github.com/version-fox/vfox/internal/util"
Expand Down
2 changes: 1 addition & 1 deletion internal/module/archiver/archiver_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package string
package archiver

import (
lua "github.com/yuin/gopher-lua"
Expand Down
2 changes: 2 additions & 0 deletions internal/module/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ package module

import (
"github.com/version-fox/vfox/internal/config"
"github.com/version-fox/vfox/internal/module/archiver"
"github.com/version-fox/vfox/internal/module/html"
"github.com/version-fox/vfox/internal/module/http"
"github.com/version-fox/vfox/internal/module/json"
Expand All @@ -30,4 +31,5 @@ func Preload(L *lua.LState, config *config.Config) {
json.Preload(L)
html.Preload(L)
string.Preload(L)
archiver.Preload(L)
}

0 comments on commit 90d1b29

Please sign in to comment.