https://github.com/nyancatda/randomanimationphoto
随机下载一张二次元图片
https://github.com/nyancatda/randomanimationphoto
Last synced: 2 months ago
JSON representation
随机下载一张二次元图片
- Host: GitHub
- URL: https://github.com/nyancatda/randomanimationphoto
- Owner: nyancatda
- Created: 2021-08-14T13:56:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-15T13:12:28.000Z (over 3 years ago)
- Last Synced: 2025-01-04T06:21:18.652Z (4 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RandomAnimationPhoto
随机下载指定数量的二次元图片
Golang入门写的练手项目,能run### 说明:
随机从API获取指定数量的二次元图片链接,并下载至同级img目录(运行时自动创建)## 运行
```
go run ./main.go
```
如果遇到错误`build command-line-arguments: cannot find module for path xxxxxxxxxx`,请先运行
```
go env -w GO111MODULE=auto
```## 构建
```
go build ./main.go
```