code: func ParseSpans(protoBlob []byte, debugWasSet bool) (zss []*zipkinmodel.SpanModel, err error) {
  	var listOfSpans ListOfSpans
  	if err := proto.Unmarshal(protoBlob, &listOfSpans); err != nil {
  		return nil, err
  	}
  	for _, zps := range listOfSpans.Spans {
  		zms, err := protoSpanToModelSpan(zps, debugWasSet)
  		if err != nil {
  			return zss, err
  		}
  		zss = append(zss, zms)
  	}
  	return zss, nil
  }
docs: // ParseSpans parses zipkinmodel.SpanModel values from data serialized by Protobuf3.
  // debugWasSet is a boolean that toggles the Debug field of each Span. Its value
  // is usually retrieved from the transport headers when the "X-B3-Flags" header has a value of 1.