code: func (m *Manager) CreateClient(client *Oauth2Client) (err error) {
  
  	err = m.getClientsCollection().Insert(client)
  
  	if err != nil && mgo.IsDup(err) {
  		err = db.ErrDuplicate
  	}
  	return
  }
docs: //CreateClient saves an Oauth2 client