Added tests, example and updated a few types

This commit is contained in:
Pavle Kosutic authored and Michal Jan Matczuk committed 2022-06-30 13:22:58 +02:00
1 parent 2942397ab6
commit a62ba24cf9
5 files changed
+250 -12

No files matched your search

+19 -1
View File
@@ -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
}