Add link from structs-->testing-and-benchmarking
This commit is contained in:
@@ -53,7 +53,8 @@ func main() {
|
||||
|
||||
// If a struct type is only used for a single value, we don't
|
||||
// have to give it a name. The value can have an anonymous
|
||||
// struct type.
|
||||
// struct type. This technique is commonly used for
|
||||
// [table-driven tests](testing-and-benchmarking).
|
||||
dog := struct {
|
||||
name string
|
||||
isGood bool
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
2676ffa99a3a14bc99332fc498e5d658c7988612
|
||||
EzGgwrfM-yD
|
||||
80344041b9268370bb6c73190afb1269e26f52fe
|
||||
ex1J3oieEeo
|
||||
|
||||
Reference in New Issue
Block a user