Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation about state machines and few refinements along the way #112

Merged
merged 72 commits into from
May 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
9fa9466
readme: fix wrong code block
widmogrod Mar 4, 2024
b3b8706
x/machine: better testing suite usability
widmogrod Mar 30, 2024
149944d
x/workflow: refactor to new testing suite
widmogrod Mar 30, 2024
173f519
example/state: refactor to order service and use new testing suite
widmogrod Mar 30, 2024
57f610f
dev: introduce moq
widmogrod Mar 30, 2024
884a866
dev: expose different port for documentation
widmogrod Mar 30, 2024
a23dac3
docs: description of state machine
widmogrod Mar 30, 2024
f4d73b5
docs: small fixes
widmogrod Mar 30, 2024
1f3fb67
example: tic tac toe machine use new testing suite
widmogrod Mar 30, 2024
4a7b9b1
go.mod update
widmogrod Mar 30, 2024
c825ebf
my-app: few adjustments to code
widmogrod Mar 31, 2024
dcb4437
example/state: moq generation needs to be in the same file as mkunion
widmogrod Mar 31, 2024
1c5e6ed
update ci.yml with go moq and deps bump
widmogrod Mar 31, 2024
03cc034
update ci.yml with go moq and deps bump
widmogrod Mar 31, 2024
fe52a7d
update ci.yml GOPATH
widmogrod Mar 31, 2024
826d26c
update ci.yml GOPATH
widmogrod Mar 31, 2024
72f3f89
update ci.yml GOPATH
widmogrod Mar 31, 2024
1560c21
update ci.yml GOPATH
widmogrod Mar 31, 2024
a7c9c86
update ci.yml GOPATH
widmogrod Mar 31, 2024
8e6a8c8
update dev loop
widmogrod Mar 31, 2024
2e1c273
docs: clean and expand on generic unions
widmogrod May 3, 2024
2b6d15d
docs: clean and fix typos in getting started
widmogrod May 3, 2024
7dd3884
docs: introduce roadmap idea
widmogrod May 3, 2024
7f6c3c3
docs: expand state machine documentation
widmogrod May 3, 2024
f9635dd
example: reorder model.go file
widmogrod May 3, 2024
9893242
docs: refine state machine description
widmogrod May 4, 2024
80e8e24
docs: Marshaling union as JSON
widmogrod May 11, 2024
182d567
docs: Improve title and wording
widmogrod May 11, 2024
753969b
docs: Add feature to the roadmap
widmogrod May 11, 2024
80954d2
example: Add TreeJson serialisation
widmogrod May 11, 2024
7d3fe4d
cmd: type-registry now registers json marshaler
widmogrod May 11, 2024
bdbab97
shared/json: add method description
widmogrod May 11, 2024
87b6196
cmd/mkunion: add registering JSONMarshaler during generation
widmogrod May 11, 2024
ba21876
x/machine: add context to machine.Handle(ctx, ...)
widmogrod May 11, 2024
c34ff6c
x/workflow: update Transition function to support context
widmogrod May 11, 2024
9f99887
x/taskqueue: change signature machine.Handle(ctx,...)
widmogrod May 11, 2024
a146d53
x/taskqueue: change signature machine.Handle(ctx,...) to have context…
widmogrod May 11, 2024
bceca05
x/state: Introduce storage example and tests
widmogrod May 11, 2024
d48af06
example/tic_tac_toe: change signature machine.Handle(ctx,...) to have…
widmogrod May 11, 2024
e4bde3d
f: generic union example with JSON serialisation
widmogrod May 11, 2024
ab496ad
my-app: change signature machine.Handle(ctx,...)
widmogrod May 11, 2024
abe5d83
x/schema: test fallback conversions
widmogrod May 11, 2024
45fb01d
update comments
widmogrod May 11, 2024
b6af66f
docs: introduce incomplete documentations
widmogrod May 11, 2024
b818e43
feature: make type-registry ON by default
widmogrod May 11, 2024
32b5f10
fix: fix moq problem with order of running of go:generate
widmogrod May 11, 2024
a58c460
maintenance: go mod tidy
widmogrod May 12, 2024
cf0ecb4
debug: ci.yaml find empty imports
widmogrod May 12, 2024
00150c0
debug: supress find errors
widmogrod May 12, 2024
8c77002
debug: supress find errors
widmogrod May 12, 2024
5d5752d
debug: make find return 0
widmogrod May 12, 2024
c02fa01
debug: make find return 0
widmogrod May 12, 2024
9f0f49f
debug: where is empty import
widmogrod May 12, 2024
d13b7b9
fix: attempt to filter out empty imports
widmogrod May 12, 2024
8aa7ec2
debug: print lines
widmogrod May 12, 2024
05c9b9e
debug: print lines
widmogrod May 12, 2024
e85c80b
debug: more debugging
widmogrod May 12, 2024
4aff6f2
fix: attempt to filter out empty imports
widmogrod May 12, 2024
55fa8f7
debug: more debugging
widmogrod May 12, 2024
979c3e8
ci.yml: go mod download
widmogrod May 12, 2024
2176e11
debug: more debugging
widmogrod May 12, 2024
3395c6d
debug: more debugging
widmogrod May 12, 2024
b488ee0
debug: more debugging
widmogrod May 12, 2024
b2959dc
debug: more debugging
widmogrod May 12, 2024
a19f97c
fix: moq problem and type-registry
widmogrod May 12, 2024
25322b4
x/shape: improve package lookup
widmogrod May 12, 2024
b88c951
x/shape: more debugging
widmogrod May 12, 2024
65f57e0
x/shape: more debugging
widmogrod May 12, 2024
8ebe078
x/shape: more debugging
widmogrod May 12, 2024
55b2496
x/shape: more debugging
widmogrod May 12, 2024
a1747f0
x/shape: more debugging
widmogrod May 12, 2024
73b719d
x/shape: reduce debugging
widmogrod May 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
x/shape: more debugging
  • Loading branch information
widmogrod committed May 12, 2024

Verified

This commit was signed with the committer’s verified signature.
widmogrod Gabriel Habryn
commit a1747f0bb435b622233351a225da587899987325
2 changes: 1 addition & 1 deletion x/shape/lookup_refs.go
Original file line number Diff line number Diff line change
@@ -300,7 +300,7 @@ func checkPkgExistsInPaths(pkgImportName string) (string, error) {
}

if gocache != "" {
gocache = filepath.Join(os.Getenv("GOPATH"), "pkg/mod")
gocache = filepath.Join(gocache, "pkg/mod")
}
}