16 lines
259 B
Go
16 lines
259 B
Go
package rest
|
|
|
|
import "git.nochill.in/nochill/excel_import_playground/internal/repository"
|
|
|
|
type Server struct {
|
|
Store repository.Store
|
|
}
|
|
|
|
func NewServer(store repository.Store) (*Server, error) {
|
|
server := &Server{
|
|
Store: store,
|
|
}
|
|
|
|
return server, nil
|
|
}
|