update readme.md and make demo.go's str optional.
Please use go fmt to format the code