Bivectorfoil / go-playground

A toy go playground

Repository from Github https://github.comBivectorfoil/go-playgroundRepository from Github https://github.comBivectorfoil/go-playground

go-playground

Attention: Just for fun. DO NOT USE IN PRODUCTION.

This project is a simple playground for Go language, it's a web page that allows you to write, run and see the output of Go code.

I created it just for fun, and to see how easy to build a simple project with Cursor. It takes me like 2~3 hours (more or less, can't remember exactly) to build this project, all i do is to chat with Cursor, create directory, file as needed, and click apply from Cursor to apply the changes, also to test the UI/UX of frontend, ask Cursor to fix issues i meet or adjust the functionality that has been built.

It's a pity that i can't export the chat history with you guys, Cursor hasn't supported this feature yet. It's takes me about 20~30 rounds (maybe more, can't remember exactly) of iteration to get the project done. The code quality is not good, but the project works well, so don't take it seriously.

Prerequisites

  • Go (1.22.x) // Any version after 1.18.x should be ok, not tested

How to use

  1. Build the backend
go build backend/main.go
  1. Run the backend
# in project root directory if you follow above steps
.\main.exe # assume you are using Windows, otherwise use ./main
  1. Open the frontend in your browser
use any browser you like to open index.html file
  1. Enjoy it!

License

This project is licensed under the Do What the Fuck You Want to Public License (WTFPL). This means you can do whatever you want with this project, without any restrictions. For more information, see the LICENSE file in the repository.

About

A toy go playground

License:Do What The F*ck You Want To Public License


Languages

Language:Go 58.3%Language:JavaScript 26.6%Language:HTML 15.1%