feat: PoC Of Router #27
Annotations
9 errors and 2 warnings
poc/my_router_test.go#L74
cannot use []*Pool{…} (value of type []*Pool) as string value in struct literal
|
poc/my_router_test.go#L78
cannot use []SwapRequest{…} (value of type []SwapRequest) as []*Pool value in struct literal
|
poc/my_router_test.go#L80
cannot use []SwapResult{…} (value of type []SwapResult) as []SwapRequest value in struct literal
|
poc/my_router_test.go#L83
cannot use 2 (untyped int constant) as []SwapResult value in struct literal
|
poc/my_router_test.go#L84
too few values in struct literal of type struct{name string; edges []*Pool; requests []SwapRequest; results []SwapResult; maxSearchLength int}
|
poc/my_router_test.go#L91
mixture of field:value and value elements in struct literal
|
poc/my_router_test.go#L93
mixture of field:value and value elements in struct literal
|
poc/my_router_test.go#L96
mixture of field:value and value elements in struct literal
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
This job failed
Loading