Move internal references to new source hosting
Some checks failed
/ golint (push) Failing after 3m50s
Some checks failed
/ golint (push) Failing after 3m50s
This commit is contained in:
parent
8c8e360bf6
commit
7237f5f666
239 changed files with 771 additions and 775 deletions
14
api/api.go
14
api/api.go
|
|
@ -9,13 +9,13 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
nhttp "source.gleipnir.technology/Gleipnir/nidus-sync/http"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/resource"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/resource"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/version"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/version"
|
||||||
//"github.com/gorilla/mux"
|
//"github.com/gorilla/mux"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
10
api/audio.go
10
api/audio.go
|
|
@ -6,16 +6,16 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/background"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/file"
|
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/models"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/background"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/file"
|
||||||
)
|
)
|
||||||
|
|
||||||
func apiAudioPost(w http.ResponseWriter, r *http.Request, u platform.User) {
|
func apiAudioPost(w http.ResponseWriter, r *http.Request, u platform.User) {
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@ import (
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/bob/dialect/psql"
|
"github.com/Gleipnir-Technology/bob/dialect/psql"
|
||||||
"github.com/Gleipnir-Technology/bob/dialect/psql/um"
|
"github.com/Gleipnir-Technology/bob/dialect/psql/um"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
|
||||||
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
|
nhttp "source.gleipnir.technology/Gleipnir/nidus-sync/http"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
)
|
)
|
||||||
|
|
||||||
type formArcgisConfiguration struct {
|
type formArcgisConfiguration struct {
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,10 @@ package api
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/file"
|
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/models"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/file"
|
||||||
)
|
)
|
||||||
|
|
||||||
func apiGetDistrictLogo(w http.ResponseWriter, r *http.Request) {
|
func apiGetDistrictLogo(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
|
||||||
|
|
@ -6,12 +6,12 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/event"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/version"
|
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/event"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/version"
|
||||||
)
|
)
|
||||||
|
|
||||||
var connectionsSSE map[*ConnectionSSE]bool = make(map[*ConnectionSSE]bool, 0)
|
var connectionsSSE map[*ConnectionSSE]bool = make(map[*ConnectionSSE]bool, 0)
|
||||||
|
|
|
||||||
|
|
@ -7,15 +7,15 @@ import (
|
||||||
"io"
|
"io"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/auth"
|
|
||||||
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/file"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/resource"
|
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/gorilla/schema"
|
"github.com/gorilla/schema"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/auth"
|
||||||
|
nhttp "source.gleipnir.technology/Gleipnir/nidus-sync/http"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/file"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/resource"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ErrorAPI struct {
|
type ErrorAPI struct {
|
||||||
|
|
|
||||||
|
|
@ -6,15 +6,15 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/file"
|
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/models"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/file"
|
||||||
)
|
)
|
||||||
|
|
||||||
func apiImagePost(w http.ResponseWriter, r *http.Request, u platform.User) {
|
func apiImagePost(w http.ResponseWriter, r *http.Request, u platform.User) {
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
nhttp "source.gleipnir.technology/Gleipnir/nidus-sync/http"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
)
|
)
|
||||||
|
|
||||||
type formPublicreportSignal struct {
|
type formPublicreportSignal struct {
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
nhttp "source.gleipnir.technology/Gleipnir/nidus-sync/http"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
)
|
)
|
||||||
|
|
||||||
type createReviewPool struct {
|
type createReviewPool struct {
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/auth"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/file"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/resource"
|
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/auth"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/file"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/resource"
|
||||||
)
|
)
|
||||||
|
|
||||||
func AddRoutesRMO(r *mux.Router) {
|
func AddRoutesRMO(r *mux.Router) {
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"errors"
|
"errors"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/auth"
|
|
||||||
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/auth"
|
||||||
|
nhttp "source.gleipnir.technology/Gleipnir/nidus-sync/http"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
)
|
)
|
||||||
|
|
||||||
type reqSignin struct {
|
type reqSignin struct {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/auth"
|
|
||||||
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/auth"
|
||||||
|
nhttp "source.gleipnir.technology/Gleipnir/nidus-sync/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
type reqSignup struct {
|
type reqSignup struct {
|
||||||
|
|
|
||||||
10
api/sudo.go
10
api/sudo.go
|
|
@ -5,12 +5,12 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/comms/email"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/comms/text"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
|
||||||
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/comms/email"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/comms/text"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
|
nhttp "source.gleipnir.technology/Gleipnir/nidus-sync/http"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
)
|
)
|
||||||
|
|
||||||
type FormEmail struct {
|
type FormEmail struct {
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
//"github.com/rs/zerolog/log"
|
//"github.com/rs/zerolog/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/text"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/twilio/twilio-go/twiml"
|
"github.com/twilio/twilio-go/twiml"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/text"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Translate from Twilio's representation of a RCS message sender to our concept of a phone number
|
// Translate from Twilio's representation of a RCS message sender to our concept of a phone number
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/h3utils"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/types"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/models"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/h3utils"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/types"
|
||||||
//"github.com/gorilla/mux"
|
//"github.com/gorilla/mux"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
)
|
)
|
||||||
|
|
@ -296,4 +296,3 @@ func toBool16(t null.Val[int16]) *bool {
|
||||||
}
|
}
|
||||||
return &b
|
return &b
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,10 +6,10 @@ import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/config"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/text"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/text"
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,9 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"golang.org/x/crypto/bcrypt"
|
"golang.org/x/crypto/bcrypt"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InactiveUser struct{}
|
type InactiveUser struct{}
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package auth
|
||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
|
||||||
"github.com/alexedwards/scs/pgxstore"
|
"github.com/alexedwards/scs/pgxstore"
|
||||||
"github.com/alexedwards/scs/v2"
|
"github.com/alexedwards/scs/v2"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
var sessionManager *scs.SessionManager
|
var sessionManager *scs.SessionManager
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/auth"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/auth"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/query/public"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/query/public"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"resty.dev/v3"
|
"resty.dev/v3"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
type attachmentRequest struct {
|
type attachmentRequest struct {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SendText(ctx context.Context, source string, destination string, message string) (string, error) {
|
func SendText(ctx context.Context, source string, destination string, message string) (string, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/twilio/twilio-go"
|
"github.com/twilio/twilio-go"
|
||||||
twilioApi "github.com/twilio/twilio-go/rest/api/v2010"
|
twilioApi "github.com/twilio/twilio-go/rest/api/v2010"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
func sendTextTwilio(ctx context.Context, source string, destination string, message string) (string, error) {
|
func sendTextTwilio(ctx context.Context, source string, destination string, message string) (string, error) {
|
||||||
|
|
@ -34,4 +34,3 @@ func sendTextTwilio(ctx context.Context, source string, destination string, mess
|
||||||
log.Info().Str("src", source).Str("dst", destination).Str("message", message).Str("sid", *resp.Sid).Msg("Created text message")
|
log.Info().Str("src", source).Str("dst", destination).Str("message", message).Str("sid", *resp.Sid).Msg("Created text message")
|
||||||
return *resp.Sid, nil
|
return *resp.Sid, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
)
|
)
|
||||||
|
|
||||||
var VOIP_MS_API = "https://voip.ms/api/v1/rest.php"
|
var VOIP_MS_API = "https://voip.ms/api/v1/rest.php"
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ import (
|
||||||
//"github.com/jackc/pgx/v5"
|
//"github.com/jackc/pgx/v5"
|
||||||
"github.com/Gleipnir-Technology/bob"
|
"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/lint"
|
|
||||||
"github.com/jackc/pgx/v5"
|
"github.com/jackc/pgx/v5"
|
||||||
"github.com/jackc/pgx/v5/pgxpool"
|
"github.com/jackc/pgx/v5/pgxpool"
|
||||||
"github.com/jackc/pgx/v5/stdlib"
|
"github.com/jackc/pgx/v5/stdlib"
|
||||||
|
|
@ -20,6 +19,7 @@ import (
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
"github.com/stephenafamo/scan"
|
"github.com/stephenafamo/scan"
|
||||||
pgxgeom "github.com/twpayne/pgx-geom"
|
pgxgeom "github.com/twpayne/pgx-geom"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/lint"
|
||||||
)
|
)
|
||||||
|
|
||||||
var ErrNoRows = pgx.ErrNoRows
|
var ErrNoRows = pgx.ErrNoRows
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ import (
|
||||||
fslayer "github.com/Gleipnir-Technology/arcgis-go/fieldseeker/layer"
|
fslayer "github.com/Gleipnir-Technology/arcgis-go/fieldseeker/layer"
|
||||||
"github.com/Gleipnir-Technology/bob"
|
"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/bob/dialect/psql"
|
"github.com/Gleipnir-Technology/bob/dialect/psql"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/models"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/models"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/gofrs/uuid/v5"
|
"github.com/gofrs/uuid/v5"
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ func customTableSQLBuilderColumn(dialect template.Dialect, column metadata.Colum
|
||||||
/*
|
/*
|
||||||
if defaultColumn.Name == "Location" {
|
if defaultColumn.Name == "Location" {
|
||||||
log.Printf("current location column: name '%s' type '%s'", defaultColumn.Name, defaultColumn.Type)
|
log.Printf("current location column: name '%s' type '%s'", defaultColumn.Name, defaultColumn.Type)
|
||||||
defaultColumn.Import = "github.com/Gleipnir-Technology/nidus-sync/db/column"
|
defaultColumn.Import = "source.gleipnir.technology/Gleipnir/nidus-sync/db/column"
|
||||||
defaultColumn.PackageName = "column"
|
defaultColumn.PackageName = "column"
|
||||||
defaultColumn.Type = "ColumnGeometry"
|
defaultColumn.Type = "ColumnGeometry"
|
||||||
defaultColumn.TypeFactory = "GeometryColumn"
|
defaultColumn.TypeFactory = "GeometryColumn"
|
||||||
|
|
@ -37,7 +37,7 @@ func customTableSQLBuilderColumn(dialect template.Dialect, column metadata.Colum
|
||||||
func customTableSQLBuilder(table metadata.Table) template.TableSQLBuilder {
|
func customTableSQLBuilder(table metadata.Table) template.TableSQLBuilder {
|
||||||
builder := template.DefaultTableSQLBuilder(table).UseColumn(customTableSQLBuilderColumn)
|
builder := template.DefaultTableSQLBuilder(table).UseColumn(customTableSQLBuilderColumn)
|
||||||
log.Printf("table sql builder: path '%s' filename '%s' instancename '%s' typename '%s' defaultalias '%s'", builder.Path, builder.FileName, builder.InstanceName, builder.TypeName, builder.DefaultAlias)
|
log.Printf("table sql builder: path '%s' filename '%s' instancename '%s' typename '%s' defaultalias '%s'", builder.Path, builder.FileName, builder.InstanceName, builder.TypeName, builder.DefaultAlias)
|
||||||
builder.Imports = []string{"github.com/Gleipnir-Technology/nidus-sync/db/column"}
|
builder.Imports = []string{"source.gleipnir.technology/Gleipnir/nidus-sync/db/column"}
|
||||||
return builder
|
return builder
|
||||||
}
|
}
|
||||||
func customTableModelField(column metadata.Column) template.TableModelField {
|
func customTableModelField(column metadata.Column) template.TableModelField {
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommsEmailLog is an object representing the database table.
|
// CommsEmailLog is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommsEmailTemplate is an object representing the database table.
|
// CommsEmailTemplate is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/stephenafamo/scan"
|
"github.com/stephenafamo/scan"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommsPhone is an object representing the database table.
|
// CommsPhone is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommsTextJob is an object representing the database table.
|
// CommsTextJob is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommsTextLog is an object representing the database table.
|
// CommsTextLog is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Communication is an object representing the database table.
|
// Communication is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CommunicationLogEntry is an object representing the database table.
|
// CommunicationLogEntry is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FeaturePool is an object representing the database table.
|
// FeaturePool is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FileuploadCSV is an object representing the database table.
|
// FileuploadCSV is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,11 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FileuploadFile is an object representing the database table.
|
// FileuploadFile is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// FileuploadPool is an object representing the database table.
|
// FileuploadPool is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// H3Aggregation is an object representing the database table.
|
// H3Aggregation is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,8 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/dialect/psql/sm"
|
"github.com/Gleipnir-Technology/bob/dialect/psql/sm"
|
||||||
"github.com/Gleipnir-Technology/bob/dialect/psql/um"
|
"github.com/Gleipnir-Technology/bob/dialect/psql/um"
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Job is an object representing the database table.
|
// Job is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Lead is an object representing the database table.
|
// Lead is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NoteAudioDatum is an object representing the database table.
|
// NoteAudioDatum is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,9 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NoteImageDatum is an object representing the database table.
|
// NoteImageDatum is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Notification is an object representing the database table.
|
// Notification is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PublicreportCompliance is an object representing the database table.
|
// PublicreportCompliance is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PublicreportNuisance is an object representing the database table.
|
// PublicreportNuisance is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,11 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/stephenafamo/scan"
|
"github.com/stephenafamo/scan"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PublicreportNuisanceOld is an object representing the database table.
|
// PublicreportNuisanceOld is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,12 +18,12 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/stephenafamo/scan"
|
"github.com/stephenafamo/scan"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PublicreportReport is an object representing the database table.
|
// PublicreportReport is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PublicreportReportLog is an object representing the database table.
|
// PublicreportReportLog is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PublicreportWater is an object representing the database table.
|
// PublicreportWater is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,11 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/stephenafamo/scan"
|
"github.com/stephenafamo/scan"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PublicreportWaterOld is an object representing the database table.
|
// PublicreportWaterOld is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ReviewTask is an object representing the database table.
|
// ReviewTask is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ReviewTaskPool is an object representing the database table.
|
// ReviewTaskPool is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,10 +18,10 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Signal is an object representing the database table.
|
// Signal is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -18,11 +18,11 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/expr"
|
"github.com/Gleipnir-Technology/bob/expr"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
"github.com/Gleipnir-Technology/bob/types/pgtypes"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/aarondl/opt/omit"
|
"github.com/aarondl/opt/omit"
|
||||||
"github.com/aarondl/opt/omitnull"
|
"github.com/aarondl/opt/omitnull"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
// User is an object representing the database table.
|
// User is an object representing the database table.
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/bob"
|
"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func AccountFromID(ctx context.Context, org_id string) (model.Account, error) {
|
func AccountFromID(ctx context.Context, org_id string) (model.Account, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func OAuthTokenInsert(ctx context.Context, m *model.OAuthToken) (model.OAuthToken, error) {
|
func OAuthTokenInsert(ctx context.Context, m *model.OAuthToken) (model.OAuthToken, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/bob"
|
"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ServiceFeatureFromID(ctx context.Context, id string) (model.ServiceFeature, error) {
|
func ServiceFeatureFromID(ctx context.Context, id string) (model.ServiceFeature, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/bob"
|
"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ServiceMapFromID(ctx context.Context, id string) (model.ServiceMap, error) {
|
func ServiceMapFromID(ctx context.Context, id string) (model.ServiceMap, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/bob"
|
"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func UserFromID(ctx context.Context, id string) (model.User, error) {
|
func UserFromID(ctx context.Context, id string) (model.User, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/bob"
|
"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/arcgis/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func UserPrivilegesDeleteByUserID(ctx context.Context, txn bob.Tx, id string) error {
|
func UserPrivilegesDeleteByUserID(ctx context.Context, txn bob.Tx, id string) error {
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ContactInsert(ctx context.Context, txn db.Ex, m model.Contact) (model.Contact, error) {
|
func ContactInsert(ctx context.Context, txn db.Ex, m model.Contact) (model.Contact, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ContactEmailInsert(ctx context.Context, txn db.Ex, m model.ContactEmail) (model.ContactEmail, error) {
|
func ContactEmailInsert(ctx context.Context, txn db.Ex, m model.ContactEmail) (model.ContactEmail, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,11 +5,11 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ContactPhoneInsert(ctx context.Context, txn db.Ex, m model.ContactPhone) (model.ContactPhone, error) {
|
func ContactPhoneInsert(ctx context.Context, txn db.Ex, m model.ContactPhone) (model.ContactPhone, error) {
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TextJobComplete(ctx context.Context, txn db.Ex, id int64) error {
|
func TextJobComplete(ctx context.Context, txn db.Ex, id int64) error {
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TextLogInsert(ctx context.Context, txn db.Ex, m model.TextLog) (model.TextLog, error) {
|
func TextLogInsert(ctx context.Context, txn db.Ex, m model.TextLog) (model.TextLog, error) {
|
||||||
|
|
|
||||||
|
|
@ -6,11 +6,11 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func AddressFromComplianceReportRequestID(ctx context.Context, txn db.Ex, public_id string) (model.Address, error) {
|
func AddressFromComplianceReportRequestID(ctx context.Context, txn db.Ex, public_id string) (model.Address, error) {
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@ package public
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func CommunicationInsert(ctx context.Context, txn db.Ex, m model.Communication) (model.Communication, error) {
|
func CommunicationInsert(ctx context.Context, txn db.Ex, m model.Communication) (model.Communication, error) {
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package public
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func FeaturesFromSiteID(ctx context.Context, txn db.Ex, site_id int64) ([]model.Feature, error) {
|
func FeaturesFromSiteID(ctx context.Context, txn db.Ex, site_id int64) ([]model.Feature, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func FeaturePoolsFromFeatures(ctx context.Context, txn db.Ex, feature_ids []int64) ([]model.FeaturePool, error) {
|
func FeaturePoolsFromFeatures(ctx context.Context, txn db.Ex, feature_ids []int64) ([]model.FeaturePool, error) {
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package public
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package public
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/platform/types"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/platform/types"
|
||||||
)
|
)
|
||||||
|
|
||||||
func mailerBaseQuery() postgres.SelectStatement {
|
func mailerBaseQuery() postgres.SelectStatement {
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func OrganizationInsert(ctx context.Context, txn db.Ex, m model.Organization) (model.Organization, error) {
|
func OrganizationInsert(ctx context.Context, txn db.Ex, m model.Organization) (model.Organization, error) {
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@ package public
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ReportTextInsert(ctx context.Context, txn db.Tx, m model.ReportText) (model.ReportText, error) {
|
func ReportTextInsert(ctx context.Context, txn db.Tx, m model.ReportText) (model.ReportText, error) {
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package public
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,9 +8,9 @@ import (
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SiteFromAddressIDForOrg(ctx context.Context, txn db.Ex, address_id int64, org_id int64) (*model.Site, error) {
|
func SiteFromAddressIDForOrg(ctx context.Context, txn db.Ex, address_id int64, org_id int64) (*model.Site, error) {
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,11 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func UsersFromOrganizationID(ctx context.Context, txn db.Ex, org_id int64) ([]model.User, error) {
|
func UsersFromOrganizationID(ctx context.Context, txn db.Ex, org_id int64) ([]model.User, error) {
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import (
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ComplianceUpdater = db.Updater[table.ComplianceTable, model.Compliance]
|
type ComplianceUpdater = db.Updater[table.ComplianceTable, model.Compliance]
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package publicreport
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,10 @@ import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/public/enum"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/public/enum"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
//"time"
|
//"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,10 +8,10 @@ import (
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
"github.com/Gleipnir-Technology/jet/postgres"
|
"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
tablecomms "github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/comms/table"
|
tablecomms "source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/comms/table"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ReportUpdater = db.Updater[table.ReportTable, model.Report]
|
type ReportUpdater = db.Updater[table.ReportTable, model.Report]
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package publicreport
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ package publicreport
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ import (
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/bob"
|
//"github.com/Gleipnir-Technology/bob"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SubscribeEmailInsert(ctx context.Context, txn db.Ex, m model.SubscribeEmail) (model.SubscribeEmail, error) {
|
func SubscribeEmailInsert(ctx context.Context, txn db.Ex, m model.SubscribeEmail) (model.SubscribeEmail, error) {
|
||||||
|
|
|
||||||
|
|
@ -5,9 +5,9 @@ import (
|
||||||
//"time"
|
//"time"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
)
|
)
|
||||||
|
|
||||||
func SubscribePhoneInsert(ctx context.Context, txn db.Ex, m model.SubscribePhone) (model.SubscribePhone, error) {
|
func SubscribePhoneInsert(ctx context.Context, txn db.Ex, m model.SubscribePhone) (model.SubscribePhone, error) {
|
||||||
|
|
|
||||||
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
//"time"
|
//"time"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/model"
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/db/gen/nidus-sync/publicreport/table"
|
||||||
//"github.com/Gleipnir-Technology/jet/postgres"
|
//"github.com/Gleipnir-Technology/jet/postgres"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,8 @@ import (
|
||||||
"github.com/Gleipnir-Technology/bob/dialect/psql"
|
"github.com/Gleipnir-Technology/bob/dialect/psql"
|
||||||
"github.com/Gleipnir-Technology/bob/dialect/psql/dialect"
|
"github.com/Gleipnir-Technology/bob/dialect/psql/dialect"
|
||||||
"github.com/Gleipnir-Technology/bob/orm"
|
"github.com/Gleipnir-Technology/bob/orm"
|
||||||
enums "github.com/Gleipnir-Technology/nidus-sync/db/enums"
|
|
||||||
"github.com/stephenafamo/scan"
|
"github.com/stephenafamo/scan"
|
||||||
|
enums "source.gleipnir.technology/Gleipnir/nidus-sync/db/enums"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:embed texts_by_senders.bob.sql
|
//go:embed texts_by_senders.bob.sql
|
||||||
|
|
|
||||||
2
go.mod
2
go.mod
|
|
@ -1,4 +1,4 @@
|
||||||
module github.com/Gleipnir-Technology/nidus-sync
|
module source.gleipnir.technology/Gleipnir/nidus-sync
|
||||||
|
|
||||||
go 1.24.9
|
go 1.24.9
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
package html
|
package html
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ContentConfig struct {
|
type ContentConfig struct {
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
//"time"
|
//"time"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/config"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
//"github.com/aarondl/opt/null"
|
//"github.com/aarondl/opt/null"
|
||||||
//"github.com/google/uuid"
|
//"github.com/google/uuid"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
|
@ -94,4 +94,3 @@ func (ts templateSystemEmbed) renderOrError(w http.ResponseWriter, template_name
|
||||||
log.Error().Err(err).Msg("failed to write buffer on render")
|
log.Error().Err(err).Msg("failed to write buffer on render")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/Gleipnir-Technology/nidus-sync/config"
|
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
"source.gleipnir.technology/Gleipnir/nidus-sync/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
// The filesystem being used
|
// The filesystem being used
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
//"github.com/Gleipnir-Technology/nidus-sync/static"
|
//"source.gleipnir.technology/Gleipnir/nidus-sync/static"
|
||||||
"github.com/aarondl/opt/null"
|
"github.com/aarondl/opt/null"
|
||||||
"github.com/google/uuid"
|
"github.com/google/uuid"
|
||||||
"github.com/rs/zerolog/log"
|
"github.com/rs/zerolog/log"
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue