ref: 067fdc804453a63dc7bcf9d85b9c3e25681928bd
parent: 0c0404e806613648f9c292ff8bd86d8f652290b8
author: halfwit <michaelmisch1985@gmail.com>
date: Sat Mar 28 08:49:26 PDT 2020
Add go.mod
--- a/appointments.go
+++ b/appointments.go
@@ -1,7 +1,7 @@
package plugins
import (
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/router"
)
// AddAppointment registers an appointment into the appointment book
--- a/bookings.go
+++ b/bookings.go
@@ -1,7 +1,7 @@
package plugins
import (
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/router"
)
// ListBookings retreives a list of all upcoming bookings for a given doctor
--- a/countries.go
+++ b/countries.go
@@ -5,7 +5,7 @@
"sort"
"strings"
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/router"
"github.com/pariz/gountries"
"golang.org/x/text/message"
)
--- a/doctor.go
+++ b/doctor.go
@@ -1,7 +1,7 @@
package plugins
import (
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/router"
)
// ListDoctors - Bitmask to list doctors of in client country
--- a/email.go
+++ b/email.go
@@ -5,8 +5,8 @@
"log"
"mime/multipart"
- "github.com/olmaxmedical/olmax_go/email"
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/email"
+ "github.com/olmaxmedical/router"
)
// EmailForm - Patient form to gmail
--- a/errors.go
+++ b/errors.go
@@ -1,7 +1,7 @@
package plugins
import (
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/router"
)
// FormErrors - A list of errors present on a POST request
--- /dev/null
+++ b/go.mod
@@ -1,0 +1,3 @@
+module github.com/olmaxmedical/plugins
+
+go 1.14
--- a/messages.go
+++ b/messages.go
@@ -1,7 +1,7 @@
package plugins
import (
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/router"
)
// Messages - list all messages by key for use in a message template
--- a/offers.go
+++ b/offers.go
@@ -1,6 +1,6 @@
package plugins
-import "github.com/olmaxmedical/olmax_go/router"
+import "github.com/olmaxmedical/router"
// MakeOffer - Request a time slot with doctor
const MakeOffer router.PluginMask = 1 << 10
--- a/password.go
+++ b/password.go
@@ -3,8 +3,8 @@
import (
"errors"
- "github.com/olmaxmedical/olmax_go/db"
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/db"
+ "github.com/olmaxmedical/router"
)
// ValidateLogin - Check user/pass combo exists
--- a/search.go
+++ b/search.go
@@ -1,6 +1,6 @@
package plugins
-import "github.com/olmaxmedical/olmax_go/router"
+import "github.com/olmaxmedical/router"
// Search - generic search for doctors in area
const Search router.PluginMask = 1 << 13
--- a/services.go
+++ b/services.go
@@ -3,7 +3,7 @@
import (
"fmt"
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/router"
)
// Services - Bitmask to list services in native language
--- a/tokens.go
+++ b/tokens.go
@@ -1,8 +1,8 @@
package plugins
import (
- "github.com/olmaxmedical/olmax_go/db"
- "github.com/olmaxmedical/olmax_go/router"
+ "github.com/olmaxmedical/db"
+ "github.com/olmaxmedical/router"
)
// FormToken - A database-persisted one time use token to relate forms to POST requests