Added tests, example and updated a few types

This commit is contained in:
Pavle Kosutic
2021-12-12 09:34:17 +01:00
committed by Michal Jan Matczuk
parent 2942397ab6
commit a62ba24cf9
5 changed files with 250 additions and 12 deletions

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
}