Added tests, example and updated a few types
This commit is contained in:
1 parent
2942397ab6
commit
a62ba24cf9
5 files changed
+250
-12
No files matched your search
Vendored
+19
-1
@@ -2,7 +2,9 @@
|
||||
|
||||
package foobar
|
||||
|
||||
import "github.com/scylladb/gocqlx/v2/table"
|
||||
import (
|
||||
"github.com/scylladb/gocqlx/v2/table"
|
||||
)
|
||||
|
||||
// Table models.
|
||||
var (
|
||||
@@ -41,3 +43,19 @@ var (
|
||||
SortKey: []string{},
|
||||
})
|
||||
)
|
||||
|
||||
type PlaylistsStruct struct {
|
||||
Album string
|
||||
Artist string
|
||||
Id [16]byte
|
||||
SongId [16]byte
|
||||
Title string
|
||||
}
|
||||
type SongsStruct struct {
|
||||
Album string
|
||||
Artist string
|
||||
Data []byte
|
||||
Id [16]byte
|
||||
Tags []string
|
||||
Title string
|
||||
}
|
||||
Reference in new issue
Block a user