cwyang / letsgo

Let's Go(lang) playground

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

letsgo

Let's Go(lang) playground

Golang setup

$ mkdir work; cd work
$ touch main.go
$ go mod init my.url/my_module_name

Run

$ go run main.go               # file
$ go run .                     # path
$ go run my.url/my_module_name # module

project structure

  • cmd: application specific code
  • pkg: non application specific code, like validation helpers and SQL model.
  • ui: user-interface asset (non-golang)

About

Let's Go(lang) playground

License:Apache License 2.0


Languages

Language:Go 89.5%Language:CSS 6.0%Language:Makefile 3.1%Language:Shell 1.1%Language:JavaScript 0.2%