code: func (artifacts *Artifacts) Add(a Artifact) {
  	artifacts.lock.Lock()
  	defer artifacts.lock.Unlock()
  	log.WithFields(log.Fields{
  		"name": a.Name,
  		"path": a.Path,
  		"type": a.Type,
  	}).Debug("added new artifact")
  	artifacts.items = append(artifacts.items, a)
  }
docs: // Add safely adds a new artifact to an artifact list