Database prototype

This commit is contained in:
2022-09-13 02:12:08 +02:00
parent 03f976a8f9
commit 2ce1ac9bf1
9 changed files with 428 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package appunti
import (
"git.phc.dm.unipi.it/phc/website/database"
)
type Service interface {
ViewDispense() error
}
type DefaultService struct {
DB database.DB
}
func (s *DefaultService) CreateDispensa(user string, template database.Dispensa) {
}