Skip to content

Commit

Permalink
runtimes/go: fix publicapigen output
Browse files Browse the repository at this point in the history
  • Loading branch information
eandre committed May 10, 2024
1 parent b5be00d commit e859482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions runtimes/go/et/mocking.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
// MockOption is a function that can be passed to MockEndpoint or MockService to configure the mocking behavior.
type MockOption func(*mockOptions)

//publicapigen:keep
type mockOptions struct {
runMiddleware bool
}
Expand Down
1 change: 1 addition & 0 deletions runtimes/go/storage/sqldb/test_db.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/rs/xid"
)

//publicapigen:drop
func (mgr *Manager) NewTestDatabase(ctx context.Context, name string) (*Database, error) {
db := mgr.GetDB(name)
if db.noopDB {
Expand Down

0 comments on commit e859482

Please sign in to comment.