aboutsummaryrefslogtreecommitdiff
path: root/lib/tabula/columninterface.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tabula/columninterface.go')
-rw-r--r--lib/tabula/columninterface.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/tabula/columninterface.go b/lib/tabula/columninterface.go
new file mode 100644
index 00000000..8a961b8b
--- /dev/null
+++ b/lib/tabula/columninterface.go
@@ -0,0 +1,20 @@
+// Copyright 2017, Shulhan <ms@kilabit.info>. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be found
+// in the LICENSE file.
+
+package tabula
+
+//
+// ColumnInterface define an interface for working with Column.
+//
+type ColumnInterface interface {
+ SetType(tipe int)
+ SetName(name string)
+
+ GetType() int
+ GetName() string
+
+ SetRecords(recs *Records)
+
+ Interface() interface{}
+}