Open EricIO opened 3 months ago
For the input
package main type Foo struct { Bar []string `parameter:"BAR" delimiter:"\n"` }
golines will output the following invalid go code.
package main type Foo struct { Bar []string `param:"CLIENT" delimiter:" "` }
Interestingly removing the first tag part will make golines output correctly formated code.
package main type Foo struct { Bar []string `delimiter:"\n"` }
outputs
For the input
golines will output the following invalid go code.
Interestingly removing the first tag part will make golines output correctly formated code.
outputs