Skip to content

Commit

Permalink
feat: enforce interface
Browse files Browse the repository at this point in the history
  • Loading branch information
samber committed Sep 2, 2023
1 parent a23c346 commit fdd3c86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ func (o Option) NewParquetHandler() slog.Handler {
}
}

var _ slog.Handler = (*ParquetHandler)(nil)

type ParquetHandler struct {
option Option
attrs []slog.Attr
Expand Down

0 comments on commit fdd3c86

Please sign in to comment.