[2nd of series ABE] Installation of “GoFE“ and Usage of ABE
发布时间
阅读量:
阅读量
Abstract
This blog is going to install the Golang encryption library named “GoFE”.
1. Install of “GoFE”
First, download and build the library by running the following command,
t716@host01:~$
$ go get -u -t github.com/fentec-project/gofe/...
**Second, **to make sure the library works as expected, we have a double-check,
$ cd $GOPATH/src/github.com/fentec-project/gofe
$ go test -v ./...
2. Usage of “GoFE”
Our project is going to make use of “GoFE”.
First, we prepare an example named “abe1.go” as follows,
$ cd $HOME/joe/abe
$ vi [abe1.go](https://gist.github.com/7df4088b4b1871e26d3c5cf693043fbf#file-abe1-go)
$ vi [go.mod](https://gist.github.com/6f865d677d77de1826806abc1dde0a4f#file-go-mod)
Second, we build the “abe1.go” example,
$ go build -o abe1 abe1.go
$ ./abe1
外部链接中的图片无法正常上传,请检查目标网站是否有防盗链设置并尝试重新上传
Reference
[1. GoFE Source Code] https://github.com/fentec-project/gofe
[2. GoFE Document] https://github.com/fentec-project/gofe
GoFE Blog文章
全部评论 (0)
还没有任何评论哟~
