package users import ( "git.aiterp.net/rpdata/api/models" ) // Find finds a user by id func Find(id string) (models.User, error) { user := models.User{} err := collection.FindId(id).One(&user) return user, err }