package learn
import "testing"
func TestVariables(t *testing.T) {
var s string
if s != "" {
t.Fail()
}
}
- go test -v
- declare variables, short long, single/multi
- existing types, int, string, byte, rune
- if else and operators
- variable scope
- switch, single/multi and default