code: func expandEnv(s string) string {
  	os.Setenv("CRANE_DOLLAR", "$")
  	return os.ExpandEnv(strings.Replace(s, "$$", "${CRANE_DOLLAR}", -1))
  }
docs: // Follow os.ExpandEnv's contract except for `$$` which is transformed to `$`