Releases: bombsimon/wsl
Releases · bombsimon/wsl
v3.1.0
v3.0.0
v2.2.0
v2.1.0
v2.0.0
v1.2.8
v1.2.7
v1.2.6
v1.2.5
v1.2.4
- Add option to allow whitespace in the end of case blocks. Default: false. Example:
switch {
case 1:
fmt.Println("one")
case 2:
fmt.Println("two")
case 3:
fmt.Println("three")
}
- Add option to allow cuddle
var
declarations. Default: false. Example:
var foo bool
var err error
- Support best practices for closing body after HTTP request. (#31). Always true. Example:
resp, err := client.Do(req)
if err != nil {
return err
}
defer resp.Body.Close()