blob: ca61e801f0b4781188f676a231334c29c7058d43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
package proto
type Resettable interface {
Reset()
}
// Reset is helper to reset columns.
func Reset(columns ...Resettable) {
for _, column := range columns {
column.Reset()
}
}
|