forked from tildetown/town
trunk
parent
7291a43e68
commit
cb0d574a76
|
@ -52,6 +52,10 @@ func main() {
|
|||
errs := []error{}
|
||||
signups := make([]jsonSignup, len(lines))
|
||||
for i, l := range lines {
|
||||
l = strings.TrimSpace(l)
|
||||
if l == "" {
|
||||
continue
|
||||
}
|
||||
s := jsonSignup{}
|
||||
err := json.Unmarshal([]byte(l), &s)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue