first commit
This commit is contained in:
17
internal/storage/storage.go
Normal file
17
internal/storage/storage.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package storage
|
||||
|
||||
type StatisticsStorage struct {
|
||||
Path string
|
||||
}
|
||||
|
||||
func NewStatisticsStorage(path string) *StatisticsStorage {
|
||||
return &StatisticsStorage{Path: path}
|
||||
}
|
||||
|
||||
func (s *StatisticsStorage) Save(stats any) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *StatisticsStorage) Load() (any, error) {
|
||||
return nil, nil
|
||||
}
|
||||
Reference in New Issue
Block a user