20 lines
277 B
Go

package service
import (
"github.com/go-chi/chi/v5"
)
// Mockable database operations interface
type NoteStore interface {
// TODO: implement
}
type notesResource struct {
Notes NoteStore
}
func (rs notesResource) Routes() chi.Router {
r := chi.NewRouter()
return r
}