Skip to content

Commit

Permalink
fix: remove unnecessary functions and files
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangda committed Nov 3, 2024
1 parent 584ac75 commit 527a1ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 178 deletions.
8 changes: 4 additions & 4 deletions pkg/google/google.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func (ds *DirectoryService) ListUsers(ctx context.Context, query []string) ([]*a
}
}

slog.Debug("google: ListUsers()", "users", toJSONString(u))
slog.Debug("google: ListUsers()", "users", u)

return u, nil
}
Expand Down Expand Up @@ -146,7 +146,7 @@ func (ds *DirectoryService) ListGroups(ctx context.Context, query []string) ([]*
}
}

slog.Debug("google: ListGroups()", "groups", toJSONString(g))
slog.Debug("google: ListGroups()", "groups", g)

return g, nil
}
Expand Down Expand Up @@ -197,7 +197,7 @@ func (ds *DirectoryService) ListGroupMembers(ctx context.Context, groupID string
return nil, err
}

slog.Debug("google: ListGroupMembers()", "members", toJSONString(m))
slog.Debug("google: ListGroupMembers()", "members", m)

return m, nil
}
Expand Down Expand Up @@ -228,7 +228,7 @@ func (ds *DirectoryService) GetGroup(ctx context.Context, groupID string) (*admi
return nil, fmt.Errorf("google: error getting group %s: %v", groupID, err)
}

slog.Debug("google: GetGroup()", "group", toJSONString(g))
slog.Debug("google: GetGroup()", "group", g)

return g, nil
}
39 changes: 0 additions & 39 deletions pkg/google/utils.go

This file was deleted.

135 changes: 0 additions & 135 deletions pkg/google/utils_test.go

This file was deleted.

0 comments on commit 527a1ef

Please sign in to comment.