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