Skip to content

Commit

Permalink
fix(go): 🐛 fix shell script in go capii
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy-Liuxf committed May 28, 2023
1 parent b35699c commit a48feaf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 16 deletions.
10 changes: 0 additions & 10 deletions experimental/CAPI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,3 @@
## 简介

实验性选手接口

## 运行方法

**注意事项**:Visual Studio Code 的 Go 语言提示**必须**`main` package 所在的目录为根目录,否则可能无法进行正确的代码提示。因此以下操作的根目录均为 `/CPI/go/API/`

```bash
$ ./generate_proto.sh
$ go build
$ ./API
```
5 changes: 0 additions & 5 deletions experimental/CAPI/go/API/generate_proto.sh

This file was deleted.

2 changes: 1 addition & 1 deletion experimental/CAPI/go/API/shell/init.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash

../../dependency/proto/go_output.sh && go get
../../../dependency/proto/go_output.sh && go get
10 changes: 10 additions & 0 deletions experimental/CAPI/go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,13 @@
## 简介

实验性选手 Go 接口

## 运行方法

**注意事项**:Visual Studio Code 的 Go 语言提示**必须**`main` package 所在的目录为根目录,否则可能无法进行正确的代码提示。因此以下操作的根目录均为 `/CPI/go/API/`

```bash
$ ./shell/init.sh
$ go build
$ ./API
```

0 comments on commit a48feaf

Please sign in to comment.