mirror of
https://github.com/PretendoNetwork/super-mario-maker.git
synced 2026-04-25 16:19:26 -05:00
removed pointless comment in database.go
This commit is contained in:
parent
a0102cef97
commit
2b09339e5c
16
database.go
16
database.go
|
|
@ -104,22 +104,6 @@ func connectCassandra() {
|
|||
log.Fatal(err)
|
||||
}
|
||||
|
||||
/*
|
||||
if err := cassandraClusterSession.Query(`INSERT INTO pretendo_smm.courses(data_id, meta_binary) VALUES (?, ?) IF NOT EXISTS`, 0, []byte{0, 1, 2, 3}).Exec(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
type MetaData struct {
|
||||
meta_binary []byte
|
||||
}
|
||||
meta := &MetaData{}
|
||||
_ = cassandraClusterSession.Query(`SELECT meta_binary FROM pretendo_smm.courses WHERE data_id=? LIMIT 1`, 0).Scan(&meta)
|
||||
|
||||
fmt.Println(meta)
|
||||
*/
|
||||
|
||||
fmt.Println("Connected to Cassandra")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user