Skip to content

Commit 8e1f8b8

Browse files
committed
refactor: type name
Signed-off-by: Andres Taylor <[email protected]>
1 parent beee2b0 commit 8e1f8b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

go/summarize/summarize-keys.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ func renderTablesJoined(md *markdown.MarkDown, summary *keys.Output) {
242242
md.PrintHeader("Tables Joined", 2)
243243
}
244244

245-
type foo struct {
245+
type joinDetails struct {
246246
Tbl1, Tbl2 string
247247
Occurrences int
248248
predicates []operators.JoinPredicate
249249
}
250250

251-
var joins []foo
251+
var joins []joinDetails
252252
for tables, predicates := range g {
253253
occurrences := 0
254254
for _, count := range predicates {
@@ -258,7 +258,7 @@ func renderTablesJoined(md *markdown.MarkDown, summary *keys.Output) {
258258
sort.Slice(joinPredicates, func(i, j int) bool {
259259
return joinPredicates[i].String() < joinPredicates[j].String()
260260
})
261-
joins = append(joins, foo{
261+
joins = append(joins, joinDetails{
262262
Tbl1: tables.Tbl1,
263263
Tbl2: tables.Tbl2,
264264
Occurrences: occurrences,

0 commit comments

Comments
 (0)