devlights / try-golang

This is my TUTORIAL project for golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

try-golang

This is my TUTORIAL project for golang

try-golang - Go Version Go

Open in Gitpod

Go version

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:        20.04
Codename:       focal

$ go version
go version go1.21.0 linux/amd64

$ task build
task: [build] go build .

$ go version try-golang
try-golang: go1.21.0

Run

$ go run main.go

If you want to use go-task, type the following command.

$ go install github.com/go-task/task/v3/cmd/task@latest

Once the above command is complete, you can run it at

$ task run

Test

$ go test -v ./...

or

$ task test

関連リポジトリ

About

This is my TUTORIAL project for golang.

License:MIT License


Languages

Language:Go 89.3%Language:Dockerfile 10.7%