add group flag
Merge pull request #12 from defermat/go-rewrite

add group flag