update md
This commit is contained in:
parent
de94805d34
commit
746a46773b
@ -7,13 +7,13 @@
|
|||||||
### 模块导入
|
### 模块导入
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import simpleReuqest2 "go-simple/simpleRequest/v2"
|
import "github.com/dorlolo/simpleRequest"
|
||||||
```
|
```
|
||||||
|
|
||||||
### 实例化
|
### 实例化
|
||||||
|
|
||||||
```go
|
```go
|
||||||
var r = simpleReuqest2.NewRequest()
|
var r = simpleRequest.NewRequest()
|
||||||
```
|
```
|
||||||
|
|
||||||
### 添加请求头
|
### 添加请求头
|
||||||
|
9
pushToGit.sh
Executable file
9
pushToGit.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
read -p "请输入注释:" input
|
||||||
|
if [$input == null] || [$input == ""];then
|
||||||
|
echo "您的输入为$input ,系统将使用默认注释"
|
||||||
|
git add .&&git commit -m "自动更新"&&git push origin master
|
||||||
|
else
|
||||||
|
git add .&&git commit -m "$input"&&git push origin master
|
||||||
|
fi
|
||||||
|
echo "上传完成"
|
Loading…
Reference in New Issue
Block a user