Skip to content

oAo-lab/golang-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Go Language Lab (golang-lab)

📝 Description

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. 💻

✅ Implemented Features

  • Load configuration file. 📄
  • Create a text client and set parameters. 🔧
  • Handle API responses. 🔄

❌ Unfinished Parts

  • Image processing functionality has not been implemented. 🖼️

🛠️ Configuration

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

🚀 Start the Project

Ensure the configuration file is correct, then run the following command to start the project:

go run main.go

🙏 Acknowledgments

Thank you for using this project! We hope it helps you in your Go language experiments. 😊

📜 Open Source License

This project is licensed under the GNU General Public License v3.0. 📜

About

test golang language lab.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages