Are you NodeJS or Python developers and now asking: "Why do I need to learn Golang?", "What is the different of using Golang and ?"
Are you getting lost and don't know what to start or learn with Golang?
This list is for you. Feel free to contribute and add more awesome things you like:
-
Write output to console
fmt.Println("Hello! What's your name?")
-
Read input from console
reader := bufio.NewReader(os.Stdin) name, _ := reader.ReadString('\n')
-
Read file
file, err := ioutil.ReadFile("data.txt") fmt.Print(string(file))
-
Write file
ioutil.WriteFile("data.txt", []byte("Hello World\nThis write from Go!"), 0644)
-
String processing
-
Regex
-
Send HTTP requests
-
Serve HTTP service
-
Serve TCP server
-
Connect to TCP server
-
Connect to WebSocket server
-
Serve WebSocket service
-
Create a native window
-
Create a graphic windows (canvas, openGL,...)
- Create JSON parser
- Create a Markdown Parser
- Create a Markdown Editor
- Create a mail client
- Create a blog
- Create Tic Tac Toe game
- Create Chip 8 emulator
- Create a health monitor for computer with awesome UI
- Create IRC client
- Create HTTP Request playground
- Create Torrent client