Debian Codegraph @

test/fixedbugs/issue44330.dir/a.go

raw
1 // Copyright 2021 The Go Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in
3 // the LICENSE file.
4
5 package a
6
7 type Table struct {
8 ColumnSeparator bool
9 RowSeparator bool
10
11 // ColumnResizer is called on each Draw. Can be used for custom column sizing.
12 ColumnResizer func()
13 }
14
15 func NewTable() *Table {
16 return &Table{
17 ColumnSeparator: true,
18 RowSeparator: true,
19 ColumnResizer: func() {},
20 }
21 }