Browse Source

Re-homed project and most declared dependencies.

master
Benjamin Shelton 1 month ago
parent
commit
8430fccf12
54 changed files with 115 additions and 114 deletions
  1. +2
    -2
      api.go
  2. +5
    -5
      application.go
  3. +1
    -1
      auth/api.go
  4. +2
    -2
      auth/funcs.go
  5. +3
    -3
      auth/types.go
  6. +7
    -7
      cmd/demos/main.go
  7. +1
    -1
      config/keys_test.go
  8. +4
    -4
      context.go
  9. +1
    -1
      errors/management_test.go
  10. +3
    -3
      extension/csrf.go
  11. +1
    -1
      extension/static.go
  12. +1
    -1
      funcs.go
  13. +5
    -4
      go.mod
  14. +1
    -1
      mappers/dependencies_test.go
  15. +4
    -4
      middleware/mangler_test.go
  16. +1
    -1
      render/loader.go
  17. +2
    -2
      render/pongo2.go
  18. +1
    -1
      render/pongo2_test.go
  19. +1
    -1
      render/reader.go
  20. +3
    -3
      route.go
  21. +2
    -2
      router.go
  22. +1
    -1
      router_bind.go
  23. +2
    -2
      router_listen.go
  24. +1
    -1
      routergroup.go
  25. +1
    -1
      session/api/session.go
  26. +3
    -3
      session/cookie/cookie.go
  27. +2
    -2
      session/registry/registry.go
  28. +4
    -4
      session/session.go
  29. +1
    -1
      status/control.go
  30. +6
    -6
      tests/authentication_test.go
  31. +2
    -2
      tests/broken_requests_test.go
  32. +2
    -2
      tests/custom_base_route_test.go
  33. +1
    -1
      tests/dependency_test.go
  34. +2
    -2
      tests/hostname_test.go
  35. +2
    -2
      tests/index_endpoint_test.go
  36. +2
    -2
      tests/method_endpoint_test.go
  37. +2
    -2
      tests/method_path_override_test.go
  38. +2
    -2
      tests/middleware_test.go
  39. +2
    -2
      tests/params_test.go
  40. +2
    -2
      tests/rebind_test.go
  41. +3
    -3
      tests/redirection_test.go
  42. +2
    -2
      tests/reserved_names_test.go
  43. +1
    -1
      tests/return_types_test.go
  44. +2
    -2
      tests/routergroup_test.go
  45. +2
    -2
      tests/server.go
  46. +1
    -1
      tests/types.go
  47. +3
    -3
      tests/websocket_test.go
  48. +3
    -3
      types.go
  49. +1
    -1
      urls.go
  50. +2
    -2
      urls_test.go
  51. +1
    -1
      utils/certs_test.go
  52. +1
    -1
      utils/forms_test.go
  53. +1
    -1
      utils/ports.go
  54. +1
    -1
      vfs/collection_test.go

+ 2
- 2
api.go View File

@@ -3,8 +3,8 @@ package capstan
import (
"net/http"

"git.pluggableideas.com/destrealm/go/capstan/render"
"git.pluggableideas.com/destrealm/go/capstan/session"
"git.destrealm.org/go/capstan/render"
"git.destrealm.org/go/capstan/session"
"github.com/gorilla/websocket"
)



+ 5
- 5
application.go View File

@@ -7,12 +7,12 @@ import (
"strings"
"sync"

"git.destrealm.org/go/capstan/config"
. "git.destrealm.org/go/capstan/errors"
"git.destrealm.org/go/capstan/mappers"
"git.destrealm.org/go/capstan/render"
"git.destrealm.org/go/capstan/session"
"git.destrealm.org/go/logging"
"git.pluggableideas.com/destrealm/go/capstan/config"
. "git.pluggableideas.com/destrealm/go/capstan/errors"
"git.pluggableideas.com/destrealm/go/capstan/mappers"
"git.pluggableideas.com/destrealm/go/capstan/render"
"git.pluggableideas.com/destrealm/go/capstan/session"
"github.com/go-chi/chi/middleware"
)



+ 1
- 1
auth/api.go View File

@@ -1,7 +1,7 @@
package auth

import (
"git.pluggableideas.com/destrealm/go/principal-auth"
"git.destrealm.org/go/principal"
)

type Refresher interface {


+ 2
- 2
auth/funcs.go View File

@@ -1,8 +1,8 @@
package auth

import (
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/principal-auth"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/principal"
)

// IsFresh returns true if the current login session is considered "fresh" or


+ 3
- 3
auth/types.go View File

@@ -7,11 +7,11 @@ import (
"net/http"
"time"

"git.destrealm.org/go/capstan"
"git.destrealm.org/go/capstan/config"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/capstan/config"
"git.destrealm.org/go/principal"
"git.pluggableideas.com/destrealm/go/keystar/crypto"
"git.pluggableideas.com/destrealm/go/principal-auth"
)

// ErrInvalidContext is raised whenever an appropriate context cannot be read


+ 7
- 7
cmd/demos/main.go View File

@@ -6,14 +6,14 @@ import (
"net"
"net/http"

"git.destrealm.org/go/capstan"
"git.destrealm.org/go/capstan/config"
"git.destrealm.org/go/capstan/extension"
"git.destrealm.org/go/capstan/mappers"
"git.destrealm.org/go/capstan/render"
"git.destrealm.org/go/capstan/status"
"git.destrealm.org/go/capstan/utils"
"git.destrealm.org/go/logging"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/capstan/config"
"git.pluggableideas.com/destrealm/go/capstan/extension"
"git.pluggableideas.com/destrealm/go/capstan/mappers"
"git.pluggableideas.com/destrealm/go/capstan/render"
"git.pluggableideas.com/destrealm/go/capstan/status"
"git.pluggableideas.com/destrealm/go/capstan/utils"
"github.com/flosch/pongo2"
)



+ 1
- 1
config/keys_test.go View File

@@ -3,7 +3,7 @@ package config_test
import (
"testing"

"git.pluggableideas.com/destrealm/go/capstan/config"
"git.destrealm.org/go/capstan/config"
)

func Test_KeyGeneration(t *testing.T) {


+ 4
- 4
context.go View File

@@ -9,10 +9,10 @@ import (
"strconv"
"strings"

. "git.pluggableideas.com/destrealm/go/capstan/errors"
"git.pluggableideas.com/destrealm/go/capstan/render"
"git.pluggableideas.com/destrealm/go/capstan/session"
"git.pluggableideas.com/destrealm/go/capstan/utils"
. "git.destrealm.org/go/capstan/errors"
"git.destrealm.org/go/capstan/render"
"git.destrealm.org/go/capstan/session"
"git.destrealm.org/go/capstan/utils"
"github.com/go-chi/chi"
"github.com/gorilla/websocket"
)


+ 1
- 1
errors/management_test.go View File

@@ -4,7 +4,7 @@ import (
"errors"
"testing"

ce "git.pluggableideas.com/destrealm/go/capstan/errors"
ce "git.destrealm.org/go/capstan/errors"
)

var errValue = errors.New("error")


+ 3
- 3
extension/csrf.go View File

@@ -9,11 +9,11 @@ import (
"net/http"
"time"

"git.destrealm.org/go/capstan"
. "git.destrealm.org/go/capstan/errors"
"git.destrealm.org/go/capstan/status"
"git.destrealm.org/go/errors"
"git.destrealm.org/go/logging"
"git.pluggableideas.com/destrealm/go/capstan"
. "git.pluggableideas.com/destrealm/go/capstan/errors"
"git.pluggableideas.com/destrealm/go/capstan/status"
"git.pluggableideas.com/destrealm/go/keystar/crypto"
)



+ 1
- 1
extension/static.go View File

@@ -8,7 +8,7 @@
package extension

import (
"git.pluggableideas.com/destrealm/go/capstan"
"git.destrealm.org/go/capstan"
)

// VFS provides a virtualized file system backend for StaticPath. This may be used separately, such as by migration tools for integrated assets.


+ 1
- 1
funcs.go View File

@@ -7,8 +7,8 @@ import (
"strconv"
"strings"

"git.destrealm.org/go/capstan/mappers"
"git.destrealm.org/go/logging"
"git.pluggableideas.com/destrealm/go/capstan/mappers"
"github.com/go-chi/chi"
)



+ 5
- 4
go.mod View File

@@ -1,14 +1,15 @@
module git.pluggableideas.com/destrealm/go/capstan
module git.destrealm.org/go/capstan

go 1.12

require (
git.destrealm.org/go/errors v0.0.0-20200222072452-ca11c73fd578
git.destrealm.org/go/logging v0.0.0-20200222072222-24b01426c1a8
git.destrealm.org/go/please v0.0.0-20200223224415-236b7da10a9d
git.destrealm.org/go/principal v0.0.0-20200224041819-3fed3f04bb99
git.destrealm.org/go/vfs v0.0.0-20200223233237-d420c1f5ac52
git.pluggableideas.com/destrealm/go/capstan v0.0.0-20200202062001-1c0455e88273
git.pluggableideas.com/destrealm/go/keystar v0.0.0-20200217074604-c37775606ae4
git.pluggableideas.com/destrealm/go/please v0.0.0-20200213102504-f48625fd1d83
git.pluggableideas.com/destrealm/go/principal-auth v0.0.0-20200125100027-5bdab82b760b
git.pluggableideas.com/destrealm/go/vfs v0.0.0-20200105104618-41605d941bcd
github.com/flosch/pongo2 v0.0.0-20190707114632-bbf5a6c351f4
github.com/fsnotify/fsnotify v1.4.7
github.com/go-chi/chi v4.0.2+incompatible


+ 1
- 1
mappers/dependencies_test.go View File

@@ -3,7 +3,7 @@ package mappers_test
import (
"testing"

"git.pluggableideas.com/destrealm/go/capstan/mappers"
"git.destrealm.org/go/capstan/mappers"
)

type Dependency1 struct {


+ 4
- 4
middleware/mangler_test.go View File

@@ -9,10 +9,10 @@ import (
"bytes"
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/capstan/middleware"
"git.pluggableideas.com/destrealm/go/capstan/tests"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/capstan/middleware"
"git.destrealm.org/go/capstan/tests"
"git.destrealm.org/go/please"
)

type MethodManglerController struct {


+ 1
- 1
render/loader.go View File

@@ -1,7 +1,7 @@
package render

import (
"git.pluggableideas.com/destrealm/go/vfs"
"git.destrealm.org/go/vfs"
"github.com/flosch/pongo2"
)



+ 2
- 2
render/pongo2.go View File

@@ -9,10 +9,10 @@ import (
"path/filepath"
"strings"

. "git.destrealm.org/go/capstan/errors"
"git.destrealm.org/go/errors"
"git.destrealm.org/go/logging"
. "git.pluggableideas.com/destrealm/go/capstan/errors"
"git.pluggableideas.com/destrealm/go/vfs"
"git.destrealm.org/go/vfs"
"github.com/flosch/pongo2"
"github.com/fsnotify/fsnotify"
)


+ 1
- 1
render/pongo2_test.go View File

@@ -4,7 +4,7 @@ import (
"bytes"
"testing"

"git.pluggableideas.com/destrealm/go/capstan/render"
"git.destrealm.org/go/capstan/render"
)

var indexTemplate = `<!doctype html>


+ 1
- 1
render/reader.go View File

@@ -6,7 +6,7 @@ import (
"path/filepath"
"strings"

. "git.pluggableideas.com/destrealm/go/capstan/errors"
. "git.destrealm.org/go/capstan/errors"
)

type BaseDirectoryReader struct {


+ 3
- 3
route.go View File

@@ -7,10 +7,10 @@ import (
"strings"
"time"

ce "git.destrealm.org/go/capstan/errors"
"git.destrealm.org/go/capstan/render"
"git.destrealm.org/go/capstan/status"
"git.destrealm.org/go/errors"
ce "git.pluggableideas.com/destrealm/go/capstan/errors"
"git.pluggableideas.com/destrealm/go/capstan/render"
"git.pluggableideas.com/destrealm/go/capstan/status"
"github.com/gorilla/websocket"
)



+ 2
- 2
router.go View File

@@ -9,8 +9,8 @@ import (
"strings"
"sync"

"git.pluggableideas.com/destrealm/go/capstan/mappers"
"git.pluggableideas.com/destrealm/go/capstan/render"
"git.destrealm.org/go/capstan/mappers"
"git.destrealm.org/go/capstan/render"
"github.com/go-chi/chi"
)



+ 1
- 1
router_bind.go View File

@@ -6,7 +6,7 @@ import (
"reflect"
"strings"

"git.pluggableideas.com/destrealm/go/vfs"
"git.destrealm.org/go/vfs"
"github.com/gorilla/websocket"
)



+ 2
- 2
router_listen.go View File

@@ -10,9 +10,9 @@ import (
"strings"
"time"

"git.pluggableideas.com/destrealm/go/capstan/internal/sys"
"git.destrealm.org/go/capstan/internal/sys"

. "git.pluggableideas.com/destrealm/go/capstan/errors"
. "git.destrealm.org/go/capstan/errors"
)

// TODO: Consider refactoring named listeners to store their network address


+ 1
- 1
routergroup.go View File

@@ -4,7 +4,7 @@ import (
"net/http"
pth "path"

"git.pluggableideas.com/destrealm/go/capstan/render"
"git.destrealm.org/go/capstan/render"
"github.com/go-chi/chi"
)



+ 1
- 1
session/api/session.go View File

@@ -3,7 +3,7 @@ package api
import (
"net/http"

"git.pluggableideas.com/destrealm/go/capstan/config"
"git.destrealm.org/go/capstan/config"
)

type SessionFactory func(*config.SessionConfig) SessionMaster


+ 3
- 3
session/cookie/cookie.go View File

@@ -8,10 +8,10 @@ import (
"net/http"
"sync"

"git.destrealm.org/go/capstan/config"
"git.destrealm.org/go/capstan/session/api"
"git.destrealm.org/go/capstan/session/registry"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan/config"
"git.pluggableideas.com/destrealm/go/capstan/session/api"
"git.pluggableideas.com/destrealm/go/capstan/session/registry"
"git.pluggableideas.com/destrealm/go/keystar/crypto"
)



+ 2
- 2
session/registry/registry.go View File

@@ -4,9 +4,9 @@ import (
"net/http"
"sync"

"git.destrealm.org/go/capstan/config"
"git.destrealm.org/go/capstan/session/api"
"git.destrealm.org/go/logging"
"git.pluggableideas.com/destrealm/go/capstan/config"
"git.pluggableideas.com/destrealm/go/capstan/session/api"
)

var backends = struct {


+ 4
- 4
session/session.go View File

@@ -1,10 +1,10 @@
package session

import (
"git.pluggableideas.com/destrealm/go/capstan/config"
"git.pluggableideas.com/destrealm/go/capstan/session/api"
_ "git.pluggableideas.com/destrealm/go/capstan/session/cookie"
"git.pluggableideas.com/destrealm/go/capstan/session/registry"
"git.destrealm.org/go/capstan/config"
"git.destrealm.org/go/capstan/session/api"
_ "git.destrealm.org/go/capstan/session/cookie"
"git.destrealm.org/go/capstan/session/registry"
)

func New(cfg *config.SessionConfig) api.SessionMaster {


+ 1
- 1
status/control.go View File

@@ -3,7 +3,7 @@ package status
import (
"net/url"

"git.pluggableideas.com/destrealm/go/capstan/errors"
"git.destrealm.org/go/capstan/errors"
)

func Redirect(url string, code ...int) *errors.Redirect {


+ 6
- 6
tests/authentication_test.go View File

@@ -18,12 +18,12 @@ import (
"testing"
"time"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/capstan/auth"
"git.pluggableideas.com/destrealm/go/capstan/config"
"git.pluggableideas.com/destrealm/go/capstan/status"
"git.pluggableideas.com/destrealm/go/please"
"git.pluggableideas.com/destrealm/go/principal-auth"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/capstan/auth"
"git.destrealm.org/go/capstan/config"
"git.destrealm.org/go/capstan/status"
"git.destrealm.org/go/please"
"git.destrealm.org/go/principal"
)

func loader(id string) (auth.User, error) {


+ 2
- 2
tests/broken_requests_test.go View File

@@ -19,8 +19,8 @@ import (
"bytes"
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/please"
)

type BreakMeController struct {


+ 2
- 2
tests/custom_base_route_test.go View File

@@ -13,8 +13,8 @@ import (
"testing"

"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/please"
)

type CustomBaseRouteController struct {


+ 1
- 1
tests/dependency_test.go View File

@@ -3,7 +3,7 @@
package tests

import (
"git.pluggableideas.com/destrealm/go/capstan"
"git.destrealm.org/go/capstan"
)

type DependencyTestController struct {


+ 2
- 2
tests/hostname_test.go View File

@@ -7,8 +7,8 @@ package tests
import (
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/please"
)

func Test_Hostname(t *testing.T) {


+ 2
- 2
tests/index_endpoint_test.go View File

@@ -14,9 +14,9 @@ import (
"bytes"
"testing"

"git.destrealm.org/go/capstan"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/please"
)

type IndexController struct {


+ 2
- 2
tests/method_endpoint_test.go View File

@@ -13,9 +13,9 @@ import (
"bytes"
"testing"

"git.destrealm.org/go/capstan"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/please"
)

type MethodEndpointController struct {


+ 2
- 2
tests/method_path_override_test.go View File

@@ -15,9 +15,9 @@ import (
"net/http"
"testing"

"git.destrealm.org/go/capstan"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/please"
)

type MethodOverrideController struct {


+ 2
- 2
tests/middleware_test.go View File

@@ -15,8 +15,8 @@ import (
"net/http"
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/please"
)

type middlewareContextKey struct {


+ 2
- 2
tests/params_test.go View File

@@ -13,9 +13,9 @@ import (
"net/http"
"testing"

"git.destrealm.org/go/capstan"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/please"
)

type ParamsController struct {


+ 2
- 2
tests/rebind_test.go View File

@@ -7,8 +7,8 @@ package tests
import (
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/please"
)

type ReplacePathController struct {


+ 3
- 3
tests/redirection_test.go View File

@@ -24,9 +24,9 @@ import (
"testing"

"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/capstan/status"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/capstan/status"
"git.destrealm.org/go/please"
)

// ExternalRedirectController tests redirections, both local and external. In


+ 2
- 2
tests/reserved_names_test.go View File

@@ -16,9 +16,9 @@ import (
"bytes"
"testing"

"git.destrealm.org/go/capstan"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/please"
)

type ReservedController struct {


+ 1
- 1
tests/return_types_test.go View File

@@ -14,7 +14,7 @@ package tests
import (
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.destrealm.org/go/capstan"
)

func Test_ReturnTypes(t *testing.T) {


+ 2
- 2
tests/routergroup_test.go View File

@@ -8,8 +8,8 @@ import (
"bytes"
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/please"
)

type RouterGroupController struct {


+ 2
- 2
tests/server.go View File

@@ -7,8 +7,8 @@ import (
"net/http/httptest"
"net/url"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/capstan/config"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/capstan/config"
)

// ReturnTypesController tests various return types, including direct `error`


+ 1
- 1
tests/types.go View File

@@ -1,7 +1,7 @@
package tests

import (
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/please"
)

type Dep struct {


+ 3
- 3
tests/websocket_test.go View File

@@ -12,9 +12,9 @@ package tests
import (
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/capstan/status"
"git.pluggableideas.com/destrealm/go/please"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/capstan/status"
"git.destrealm.org/go/please"
)

type WebSocketController struct {


+ 3
- 3
types.go View File

@@ -3,9 +3,9 @@ package capstan
import (
"net/http"

"git.pluggableideas.com/destrealm/go/capstan/config"
"git.pluggableideas.com/destrealm/go/capstan/render"
"git.pluggableideas.com/destrealm/go/capstan/utils"
"git.destrealm.org/go/capstan/config"
"git.destrealm.org/go/capstan/render"
"git.destrealm.org/go/capstan/utils"
"github.com/go-chi/chi"
)



+ 1
- 1
urls.go View File

@@ -5,8 +5,8 @@ import (
pth "path"
"sync"

"git.destrealm.org/go/capstan/config"
"git.destrealm.org/go/logging"
"git.pluggableideas.com/destrealm/go/capstan/config"
)

type URLMapper struct {


+ 2
- 2
urls_test.go View File

@@ -3,8 +3,8 @@ package capstan_test
import (
"testing"

"git.pluggableideas.com/destrealm/go/capstan"
"git.pluggableideas.com/destrealm/go/capstan/config"
"git.destrealm.org/go/capstan"
"git.destrealm.org/go/capstan/config"
)

func Test_URLMapper_For(t *testing.T) {


+ 1
- 1
utils/certs_test.go View File

@@ -8,7 +8,7 @@ import (
"testing"
"time"

"git.pluggableideas.com/destrealm/go/capstan/utils"
"git.destrealm.org/go/capstan/utils"
)

func Test_GenerateSelfSignedCertificate(t *testing.T) {


+ 1
- 1
utils/forms_test.go View File

@@ -4,8 +4,8 @@ import (
"net/url"
"testing"

"git.destrealm.org/go/capstan/utils"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan/utils"
)

type TestData struct {


+ 1
- 1
utils/ports.go View File

@@ -4,7 +4,7 @@ import (
"net"
"strconv"

. "git.pluggableideas.com/destrealm/go/capstan/errors"
. "git.destrealm.org/go/capstan/errors"
)

// FindFreePort returns the first free port starting with the port delimited by


+ 1
- 1
vfs/collection_test.go View File

@@ -5,8 +5,8 @@ import (
"io/ioutil"
"testing"

"git.destrealm.org/go/capstan/vfs"
"git.destrealm.org/go/errors"
"git.pluggableideas.com/destrealm/go/capstan/vfs"
)

var fixturesFS = map[string][]byte{


Loading…
Cancel
Save