Skip to content

Commit

Permalink
string method override
Browse files Browse the repository at this point in the history
  • Loading branch information
salvacorts committed Feb 16, 2024
1 parent 972cd39 commit 2dda18c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/storage/config/schema_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,10 @@ type DayTable struct {
Prefix string
}

func (d DayTable) String() string {
return d.Addr()
}

func NewDayTable(d DayTime, prefix string) DayTable {
return DayTable{
DayTime: d,
Expand Down

0 comments on commit 2dda18c

Please sign in to comment.