// clearState clears all global variables
clearState clears all global variables
// clearState clears all global variables
func (s *state) clear() {
	s.vars = make(map[string]string)
	for _, e := range os.Environ() {
		pair := strings.SplitN(e, "=", 2)
		s.vars[pair[0]] = pair[1]
	}
	s.authTokenMap = make(map[httpPath]map[httpMethod]authToken)
	s.responseValue = ""
}
func ( s * state ) clear ( ) { s . vars = make ( map [ string ] string ) for _ , e := range os . Environ ( ) { pair := strings . SplitN ( e , " " , 2 ) s . vars [ pair [ 0 ] ] = pair [ 1 ] } s . authTokenMap = make ( map [ httpPath ] map [ httpMethod ] authToken ) s . responseValue = " " }
clearState clears all global variables
clearState clears all global variables
// Add environment variables.