This project is a Go language lab, mainly used for testing and experimenting with Go language features. 🎉 Currently, it implements a text client that can generate front-end code (such as TailwindCSS style code) through an API. 💻
- Load configuration file. 📄
- Create a text client and set parameters. 🔧
- Handle API responses. 🔄
- Image processing functionality has not been implemented. 🖼️
The project configuration file config.yaml
includes the following content:
api:
apiKey: 'sk-xxx'
apiUrl: 'https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions'
server:
host: 'localhost'
port: 8080
Ensure the configuration file is correct, then run the following command to start the project:
go run main.go
Thank you for using this project! We hope it helps you in your Go language experiments. 😊
This project is licensed under the GNU General Public License v3.0. 📜