func (d *db) GetScore() (int64, error) {
	return atomic.LoadInt64(&d.score), nil
}
GetScore returns the score atomically
package models
import "sync/atomic"
type DB interface {
	GetScore() (int64, error)
	SetScore(int64) error
}
func NewDB() DB {
	return &db{0}
}
type db struct {
	score int64
}