Skip to content

Commit

Permalink
#94 fix route collection race condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Reindert Vetter committed Jan 29, 2021
1 parent 45fcf40 commit a8a179e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
1 change: 0 additions & 1 deletion app/providers/route_service_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ type RouteServiceProvider struct{}
// Define your router model bindings, pattern filters, etc.
func (r RouteServiceProvider) Boot(container inter.Container) inter.Container {
collection := routing.NewRouteCollection()
collection.SetContainer(container)

collection.Merge(routes.Api)
collection.Merge(routes.Web)
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ module confetti-framework
go 1.15

require (
github.com/confetti-framework/contract v0.1.0-rc.2
github.com/confetti-framework/contract v0.1.1-rc.1
github.com/confetti-framework/errors v0.11.0-rc.1
github.com/confetti-framework/foundation v0.3.0-rc.7
github.com/confetti-framework/routing v0.5.0-rc.7
github.com/confetti-framework/support v0.2.0-rc.1
github.com/confetti-framework/foundation v0.3.1
github.com/confetti-framework/routing v0.5.1
github.com/confetti-framework/support v0.2.0-rc.2
github.com/confetti-framework/syslog v0.1.0-rc
github.com/confetti-framework/validation v0.1.0-rc.1
github.com/gorilla/mux v1.8.0 // indirect
Expand Down
10 changes: 6 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
github.com/confetti-framework/contract v0.1.0-rc.1 h1:uNppEfy6lP4b4PKGdpW5Z7t40rKn27PnI86Yw72ZseA=
github.com/confetti-framework/contract v0.1.0-rc.1/go.mod h1:8RAxkoUGEArjrzpBmypkSHd1RWr4/NRLr7Uaa4+cVJs=
github.com/confetti-framework/contract v0.1.0-rc.2 h1:VgMyktD5bhfPLiFKx9ezqNtL+WSIeZT8XGiNcI9xSzk=
github.com/confetti-framework/contract v0.1.0-rc.2/go.mod h1:8RAxkoUGEArjrzpBmypkSHd1RWr4/NRLr7Uaa4+cVJs=
github.com/confetti-framework/contract v0.1.1-rc.1 h1:7v1CjjEsXMwaWmasmBqg93ROnka7sQPvCqJ0CSQyt+0=
github.com/confetti-framework/contract v0.1.1-rc.1/go.mod h1:8RAxkoUGEArjrzpBmypkSHd1RWr4/NRLr7Uaa4+cVJs=
github.com/confetti-framework/errors v0.11.0-rc.1 h1:Docd/3JG4DwVAiz/KSXnO31fS4wv3rWFPLhgv9c9KVI=
github.com/confetti-framework/errors v0.11.0-rc.1/go.mod h1:a59waUvDS3t8nOeqI0yQDrhILEicAvlca7Kbeilsrao=
github.com/confetti-framework/foundation v0.3.0-rc.2 h1:DfJ0tXqo5Uz3iNp1fSf/39KlZMwLql2QFElkJBztzBY=
github.com/confetti-framework/foundation v0.3.0-rc.2/go.mod h1:Fnl/b5HgUsNZnnpsUpNqmAYN+Ny0OrAFyCZeQKZqPHs=
github.com/confetti-framework/foundation v0.3.0-rc.7 h1:aL+vXbd1MLF0/q/FP+PJrLrdyIsEvGE30D8yCWk6HCQ=
github.com/confetti-framework/foundation v0.3.0-rc.7/go.mod h1:at9ipaFxt7UgyRVRpxnaRNqlJXsJCyeU2IKURuvl6go=
github.com/confetti-framework/foundation v0.3.1 h1:OV39RqZ3R/+XHCuvdJxYIIIDd/zeYM0MR2qwUo7Pha0=
github.com/confetti-framework/foundation v0.3.1/go.mod h1:ALWdxA5ZKKXMwqek47q4PJkShT0EDbsy5WgdZc5e3tg=
github.com/confetti-framework/routing v0.5.0-rc.2/go.mod h1:OaxFjhc1hwj1ela8C6A8MutRjlDNmRbxQrtKncJ5DHM=
github.com/confetti-framework/routing v0.5.0-rc.7 h1:jIEUEMK8dOWyZS2gzMz3Ykpojcu8bTzVHDNTMDKAjAg=
github.com/confetti-framework/routing v0.5.0-rc.7/go.mod h1:y1Ckjt7364ZdL9PhQdTT1HVfuTOI3+ynnkvNxLdM9n0=
github.com/confetti-framework/routing v0.5.1 h1:N2J1FdzNJvDnEXK8K4UOjRCCGACN1Gs2C67395lvyMw=
github.com/confetti-framework/routing v0.5.1/go.mod h1:Qo2uCL3L1fBZ783AzYg5TcSB2+fvjSiH19TXqaVIANo=
github.com/confetti-framework/support v0.2.0-rc.1 h1:LSF3NDIVqPpRJEEj4r+4N1PoJfAvGxe0Hdr2sNHwJ60=
github.com/confetti-framework/support v0.2.0-rc.1/go.mod h1:uwOTcc+vAtkzr5GihkCzjv11YVI15UJMhfU2HLRCk/A=
github.com/confetti-framework/syslog v0.1.0-rc h1:BqzyW2p9uSxYOL1MQFrMGAcsix7X5nW8bgHlf7SuZkM=
Expand Down
Empty file added load_testing.js
Empty file.

0 comments on commit a8a179e

Please sign in to comment.