Skip to content

Add Golang client for Stellar RPC (#349) #640

Add Golang client for Stellar RPC (#349)

Add Golang client for Stellar RPC (#349) #640

Triggered via push January 31, 2025 19:44
Status Failure
Total duration 3m 33s
Artifacts

golang.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
golangci-lint: cmd/stellar-rpc/main.go#L74
use of `fmt.Println` forbidden because "Do not commit debug print statements (in tests use t.Log())." (forbidigo)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/test.go#L541
Error return value of `i.rpcContainerLogsCommand.Wait` is not checked (errcheck)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/test.go#L518
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/util.go#L27
type assertion must be checked (forcetypeassert)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/client.go#L22
for loop can be changed to use an integer range (Go 1.22+) (intrange)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/contract.go#L40
The line is 138 characters long, which exceeds the maximum of 120 characters. (lll)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/contract.go#L103
The line is 128 characters long, which exceeds the maximum of 120 characters. (lll)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/test.go#L416
named return "n" with type "int" found (nonamedreturns)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/client.go#L147
empty: use require.Empty (testifylint)
golangci-lint: cmd/stellar-rpc/internal/integrationtest/infrastructure/client.go#L153
empty: use require.Empty (testifylint)