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: 8080Ensure the configuration file is correct, then run the following command to start the project:
go run main.goThank 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. π