Skip to content

czchen/libgochewing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Build Status Build Status

This project reimplement libchewing in golang.

Development

See How to Write Go Code, or using command go help gopath to setup the development environment.

If your environment does not have golang, or the version of golang is too old, you can install it by gvm.

Install Dependencies

The following command can install dependencies of this project:

go get

The following command installs dependencies for unit test:

go list -f '{{range .TestImports}}{{.}} {{end}}' github.com/czchen/libgochewing | xargs go get

Unit Test

The following cmomand runs unit test of this project:

go test

Benchmark

The following command runs benchmark of this project:

go test -bench .

Coverage

The following commands create summary coverage report for unit test:

go get github.com/axw/gocov/gocov
bin/gocov test github.com/czchen/libgochewing | bin/gocov report

The coverage report can also be generated as HTML with the following commands:

go get github.com/axw/gocov/gocov
go get github.com/matm/gocov-html
bin/gocov test github.com/czchen/libgochewing | bin/gocov-html > coverage.html

License

This project is licensed under LGPL-2.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages