Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add static data deps and go mod #60

Merged
merged 1 commit into from Jan 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -6,3 +6,5 @@ tags
*.ut
build
example/example
.idea

5 changes: 5 additions & 0 deletions deps/cppjieba/init.go
@@ -0,0 +1,5 @@
package cppjieba

func Init() {

}
5 changes: 5 additions & 0 deletions deps/limonp/init.go
@@ -0,0 +1,5 @@
package limonp

func Init() {

}
5 changes: 5 additions & 0 deletions dict/init.go
@@ -0,0 +1,5 @@
package dict

func Init() {

}
3 changes: 3 additions & 0 deletions go.mod
@@ -0,0 +1,3 @@
module github.com/yanyiwu/gojieba

go 1.13
13 changes: 13 additions & 0 deletions init.go
@@ -0,0 +1,13 @@
package gojieba

import (
"github.com/yanyiwu/gojieba/deps/cppjieba"
"github.com/yanyiwu/gojieba/deps/limonp"
"github.com/yanyiwu/gojieba/dict"
)

func init() {
dict.Init()
limonp.Init()
cppjieba.Init()
}