Skip to content

Conversation

jba
Copy link
Contributor

@jba jba commented May 20, 2024

Make the API nicer.

  • Unexport symbols that don't need to be visible.

  • Write documentation for some undocumented symbols.

jba added 2 commits May 20, 2024 07:56
Make the API nicer.

- Unexport symbols that don't need to be visible.

- Write documentation some undocumented symbols.
@jba jba requested review from randall77 and ianlancetaylor May 20, 2024 13:51
@jba
Copy link
Contributor Author

jba commented May 20, 2024

Apologies for the big PR.

Everything is just renaming and movement. No change in functionality.

It might help to review each commit separately. The first just renames and unexports. The second creates new packages.

"strings"
"testing"

gtrace "github.com/firebase/genkit/go/trace"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The impulse to use an import alias for each import suggests that the package name should actually be gtrace.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@jba jba merged commit f390858 into main May 21, 2024
@jba jba deleted the jba-godoc branch May 21, 2024 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants