read and write the environment variables in go language