forked from vesoft-inc/nebula-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: export module (vesoft-inc#222)
- Loading branch information
1 parent
3238a0e
commit ca56f2f
Showing
5 changed files
with
47 additions
and
45 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package server | ||
|
||
import ( | ||
"github.com/vesoft-inc/nebula-studio/server-v2/api/studio/internal/config" | ||
"github.com/vesoft-inc/nebula-studio/server-v2/api/studio/internal/service/importer" | ||
"github.com/vesoft-inc/nebula-studio/server-v2/api/studio/internal/svc" | ||
) | ||
|
||
type ( | ||
ServiceContext = svc.ServiceContext | ||
Config = config.Config | ||
) | ||
|
||
var NewServiceContext = svc.NewServiceContext | ||
|
||
func InitDB(dbFilePath string) { | ||
importer.InitDB(dbFilePath) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters