code: func appendImports(i, a []*ImportSpec) []*ImportSpec {
  	for _, v := range a {
  		contains := false
  		for _, att := range i {
  			if att.Path == v.Path {
  				contains = true
  				break
  			}
  		}
  		if contains != true {
  			i = append(i, v)
  		}
  	}
  	return i
  }
docs: // appendImports appends two ImportSpec slices and preserves uniqueness