Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Merge pull request #144 from dennwc/update-1
Browse files Browse the repository at this point in the history
use helper for main function
  • Loading branch information
juanjux authored Feb 7, 2018
2 parents e09b4d0 + 43e11f8 commit 8c1a398
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions driver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,5 @@ import (
)

func main() {
d, err := driver.NewDriver(normalizer.ToNode, normalizer.Transformers)
if err != nil {
panic(err)
}

s := driver.NewServer(d)
if err := s.Start(); err != nil {
panic(err)
}
driver.Run(normalizer.ToNode, normalizer.Transformers)
}

0 comments on commit 8c1a398

Please sign in to comment.