// makeThumbnails6 makes thumbnails for each file received from the channel.// It returns the number of bytes occupied by the files it creates.funcmakeThumbnails6(filenames <-chanstring)int64{
sizes :=make(chanint64)var
wg.Wait()在goroutine内部// makeThumbnails6 makes thumbnails for each file received from the channel.// It returns the number of bytes occupied by the files it creates.func makeThumbnails6(filenames <-chan string) int64 { sizes := make(chan int64)