Skip to main content
golang doesn't use semi-colon
Source Link
captncraig
  • 23.3k
  • 18
  • 116
  • 154

The Foo type is a map[string]string so define Foo correctly:

type Bar struct {
    id int64
    Foo map[string]string
}

Think that would work better

edited

The Foo type is a map[string]string so define Foo correctly:

type Bar struct {
    id int64
    Foo map[string]string
}

Think that would work better

edited

The Foo type is a map[string]string so define Foo correctly:

type Bar struct {
    id int64
    Foo map[string]string
}

Think that would work better

The Foo type is a map[string]string so define Foo correctly:

type Bar struct {
    id int64;int64
    Foo map[string]string;map[string]string
}

Think that would work better

edited

The Foo type is a map[string]string so define Foo correctly:

type Bar struct {
    id int64;
    Foo map[string]string;
}

Think that would work better

The Foo type is a map[string]string so define Foo correctly:

type Bar struct {
    id int64
    Foo map[string]string
}

Think that would work better

edited

Source Link

The Foo type is a map[string]string so define Foo correctly:

type Bar struct {
    id int64;
    Foo map[string]string;
}

Think that would work better