Go flags handler