add get command and gofmt the codes