ajout base de donnees pour param et oauth

This commit is contained in:
2021-01-24 23:57:44 +01:00
parent 76d2a2f893
commit bfd02a2a51
11 changed files with 289 additions and 62 deletions

View File

@@ -5,6 +5,8 @@ import (
"log"
"net/http"
"os"
"github.com/ldrogou/goauth20/store"
)
func main() {
@@ -18,7 +20,8 @@ func main() {
func run() error {
srv := newServer()
srv.store = &dbStore{}
srv.store = &store.DbStore{}
err := srv.store.Open()
if err != nil {
return err