Giter Club home page Giter Club logo

foundationkit's People

Contributors

andremissaglia avatar eric-reis avatar joesantos418 avatar leoeareis avatar leonardoam avatar renovate[bot] avatar rilder-almeida avatar rjfonseca avatar victormn avatar xico42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foundationkit's Issues

Help increase test coverage

If you would like to help out and at the same time get acquainted with the project, please feel free to add more tests and test cases where ever is possible.

Investigate why the implschemaregistry.MustNew function is not using one of its parameters

MustNew it not using httpClient in:

// MustNew returns a new valid schemaregistry.Repository but panics in case on an error
func MustNew(url string, httpClient *http.Client) schemaregistry.Repository {
	const op = errors.Op("implschemaregistry.MustNew")

	if url == "" {
		panic(errors.E(op, "missing url"))
	}

	if !strings.HasSuffix(url, "/") {
		url += "/"
	}

	return &repository{
		getSchemaByIDURL: url + "schemas/ids/%d",
		getIDBySchemaURL: url + "subjects/%s",
	}
}

https://github.com/arquivei/foundationkit/blob/master/schemaregistry/implschemaregistry/repository.go

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

  • fix(deps): update all non-major dependencies (cloud.google.com/go/logging, github.com/omeid/uconfig, github.com/prometheus/client_golang, github.com/splitio/go-client/v6, go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux, go.opentelemetry.io/otel, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/sdk, go.opentelemetry.io/otel/trace, golang.org/x/net)

Detected dependencies

github-actions
.github/workflows/go.yml
  • actions/checkout v4
  • actions/setup-go v5
  • actions/checkout v4
  • actions/setup-go v5
  • actions/checkout v4
  • actions/setup-go v5
.github/workflows/golangci-lint.yml
  • actions/setup-go v5
  • actions/checkout v4
  • golangci/golangci-lint-action v3
.github/workflows/govulcheck.yml
  • golang/govulncheck-action v1
.github/workflows/stale.yml
  • actions/stale v9
gomod
go.mod
  • go 1.21
  • cloud.google.com/go/logging v1.8.1
  • contrib.go.opencensus.io/exporter/stackdriver v0.13.14
  • github.com/go-kit/kit v0.13.0
  • github.com/go-kit/log v0.2.1
  • github.com/go-logr/zerologr v1.2.3
  • github.com/gorilla/mux v1.8.1
  • github.com/hamba/avro/v2 v2.18.0
  • github.com/oklog/ulid/v2 v2.1.0
  • github.com/omeid/uconfig v1.2.0
  • github.com/prometheus/client_golang v1.17.0
  • github.com/rs/zerolog v1.31.0
  • github.com/splitio/go-client/v6 v6.5.0
  • github.com/stretchr/testify v1.8.4
  • go.opencensus.io v0.24.0
  • go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux v0.46.1
  • go.opentelemetry.io/otel v1.21.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.21.0
  • go.opentelemetry.io/otel/sdk v1.21.0
  • go.opentelemetry.io/otel/trace v1.21.0
  • golang.org/x/net v0.19.0

  • Check this box to trigger a request for Renovate to run again on this repository

Error trying to run examples

I'm using Go 1.19, I cloned the project and ran the command to run the app example:

go run ./app/examples/servefiles/ -log-human -log-level=debug

I got this error:

build github.com/arquivei/foundationkit/app/examples/servefiles: cannot load io/fs: malformed module path "io/fs": missing dot in first path element

I suspected an error with an import, so I ran go mod tidy and got this error:

github.com/arquivei/foundationkit/avroutil/example imports
embed: malformed module path "embed": missing dot in first path element
github.com/arquivei/foundationkit/gokitmiddlewares/metricsmiddleware/v2/example imports
github.com/prometheus/client_golang/prometheus imports
runtime/metrics: malformed module path "runtime/metrics": missing dot in first path element
github.com/arquivei/foundationkit/trace imports
contrib.go.opencensus.io/exporter/stackdriver imports
go.opencensus.io/plugin/ochttp tested by
go.opencensus.io/plugin/ochttp.test imports
golang.org/x/net/http2 imports
io/fs: malformed module path "io/fs": missing dot in first path element

Does anyone know what I may be doing wrong?

Help improve package documentation

If you would like to help out and at the same time get acquainted with the project, please feel free update our documentation (using the godoc format) to be more clear and/or add more examples.

A good way to think of it is to ask yourself: Why someone should use this function and write down the answer as a godoc.

https://go.dev/blog/godoc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.