// Copyright 2013 The Go Authors. All rights reserved.// Use of this source code is governed by a BSD-style// license that can be found in the LICENSE file.// +build !appengine// This program demonstrates a race condition.// To observe the race with the race detector, build with -race.packagemainimport"fmt"funcmain(){done:=make(chanbool)m:=make(map[string]string)m["name"]="world"gofunc(){m["name"]="data race"done<-true}()fmt.Println("Hello,",m["name"])<-done}