Skip to content

Commit

Permalink
修改readme中错误的示例
Browse files Browse the repository at this point in the history
  • Loading branch information
qingtao committed Dec 26, 2019
1 parent 0d3b38a commit 5b1d298
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ import (
)

func main() {
// InitBaiduFaceOptions 初始化百度人脸服务的客户端
func InitBaiduFaceOptions(opt *client.Option) {
opt := newClientOptions()
client.Init(opt)
// ...
}

// newClientOptions 客户端选项
func newClientOptions() (opt *client.Option) {
// ...
return
}

```


Expand Down

0 comments on commit 5b1d298

Please sign in to comment.