We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a048572 commit d2bea77Copy full SHA for d2bea77
dump_test.go
@@ -7,11 +7,11 @@ import (
7
)
8
9
var tabTest = []test{
10
- test{"name", 1, 0.000001},
+ {"name", 1, 0.000001},
11
}
12
13
var tabTestNoID = []testNoID{
14
- testNoID{"name", 1, 0.000001},
15
16
17
func TestDumpToFileEmptyName(t *testing.T) {
@@ -128,7 +128,7 @@ type Demo struct { // A structure with tags
128
func TestREADMEExample(t *testing.T) {
129
130
tab := []Demo{ // Create the slice where to put the file content
131
- Demo{
+ {
132
Name: "some name",
133
ID: 1,
134
Num: 0.000001,
0 commit comments