Couple of suggestions
This commit is contained in:
parent
3f8e58ad58
commit
beeb231562
@ -21,9 +21,8 @@ import (
|
||||
func IntMin(a, b int) int {
|
||||
if a < b {
|
||||
return a
|
||||
} else {
|
||||
return b
|
||||
}
|
||||
return b
|
||||
}
|
||||
|
||||
// A test is created by writing a function with a name
|
||||
|
@ -8,7 +8,7 @@ import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// This type will be mapped to XML. Similarly to the
|
||||
// Plant will be mapped to XML. Similarly to the
|
||||
// JSON examples, field tags contain directives for the
|
||||
// encoder and decoder. Here we use some special features
|
||||
// of the XML package: the `XMLName` field name dictates
|
||||
|
Loading…
x
Reference in New Issue
Block a user