Skip to content

Commit

Permalink
fix: check in types.ftl.go to avoid go.mod weirdness (#2915)
Browse files Browse the repository at this point in the history
  • Loading branch information
worstell authored Oct 1, 2024
1 parent 3d5da1f commit 55033f1
Show file tree
Hide file tree
Showing 31 changed files with 1,355 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ go-runtime/schema/testdata/test/test.go
**/testdata/**/_ftl
**/examples/**/_ftl
**/smoketest/**/_ftl
**/types.ftl.go
!go-runtime/ftl/ftltest/testdata/go/verbtypes/types.ftl.go
**/testdata/**/.ftl
**/examples/**/.ftl
**/smoketest/**/.ftl
Expand Down
20 changes: 20 additions & 0 deletions backend/controller/ingress/testdata/go/httpingress/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions backend/controller/leases/testdata/go/leases/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions buildengine/testdata/another/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions examples/go/echo/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions examples/go/time/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,16 @@ module ftl/time
go 1.23.0

replace github.com/TBD54566975/ftl => ../../..

require github.com/TBD54566975/ftl v0.0.0-00010101000000-000000000000

require (
github.com/alecthomas/participle/v2 v2.1.1 // indirect
github.com/alecthomas/types v0.16.0 // indirect
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
github.com/hashicorp/cronexpr v1.1.2 // indirect
github.com/swaggest/jsonschema-go v0.3.72 // indirect
github.com/swaggest/refl v1.3.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
)
200 changes: 200 additions & 0 deletions examples/go/time/go.sum

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions examples/go/time/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions go-runtime/compile/testdata/go/echo/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions go-runtime/compile/testdata/go/external/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,15 @@ go 1.23.0

require github.com/TBD54566975/ftl v0.206.1

require (
github.com/alecthomas/participle/v2 v2.1.1 // indirect
github.com/alecthomas/types v0.16.0 // indirect
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
github.com/hashicorp/cronexpr v1.1.2 // indirect
github.com/swaggest/jsonschema-go v0.3.72 // indirect
github.com/swaggest/refl v1.3.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
)

replace github.com/TBD54566975/ftl => ../../../../..
200 changes: 200 additions & 0 deletions go-runtime/compile/testdata/go/external/go.sum

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions go-runtime/compile/testdata/go/external/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions go-runtime/compile/testdata/go/time/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions go-runtime/compile/testdata/go/two/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions go-runtime/ftl/ftltest/testdata/go/wrapped/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions go-runtime/ftl/testdata/go/typeregistry/types.ftl.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions go-runtime/schema/testdata/named/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,16 @@ module ftl/named
go 1.23.0

replace github.com/TBD54566975/ftl => ../../../..

require github.com/TBD54566975/ftl v0.0.0-00010101000000-000000000000

require (
github.com/alecthomas/participle/v2 v2.1.1 // indirect
github.com/alecthomas/types v0.16.0 // indirect
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
github.com/hashicorp/cronexpr v1.1.2 // indirect
github.com/swaggest/jsonschema-go v0.3.72 // indirect
github.com/swaggest/refl v1.3.0 // indirect
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
google.golang.org/protobuf v1.34.2 // indirect
)
Loading

0 comments on commit 55033f1

Please sign in to comment.