mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
remove viewSlice (unused)
This commit is contained in:
parent
c55209a9fb
commit
fb8cc455b6
1 changed files with 0 additions and 6 deletions
6
view.go
6
view.go
|
|
@ -433,12 +433,6 @@ func IsInverseView(name string) bool {
|
|||
return strings.HasPrefix(name, ViewInverse)
|
||||
}
|
||||
|
||||
type viewSlice []*View
|
||||
|
||||
func (p viewSlice) Swap(i, j int) { p[i], p[j] = p[j], p[i] }
|
||||
func (p viewSlice) Len() int { return len(p) }
|
||||
func (p viewSlice) Less(i, j int) bool { return p[i].Name() < p[j].Name() }
|
||||
|
||||
// ViewInfo represents schema information for a view.
|
||||
type ViewInfo struct {
|
||||
Name string `json:"name"`
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue