Ecosyste.ms: Repos

An open API service providing repository metadata for many open source software ecosystems.

Package Usage: go: github.com/prashantv/gostub

Package gostub is used for stubbing variables in tests, and resetting the original value once the test has been run. This can be used to stub static variables as well as static functions. To stub a static variable, use the Stub function: gostub can also stub static functions in a test by using a variable to reference the static function, and using that local variable to call the static function: You can test this by using gostub to stub the timeNow variable: If you are stubbing a function to return a constant value like in the above test, you can use StubFunc instead: StubFunc can also be used to stub functions that return multiple values: StubEnv can be used to setup environment variables for tests, and the environment values are reset to their original values upon Reset: The Reset method should be deferred to run at the end of the test to reset all stubbed variables back to their original values. You can set up multiple stubs by calling Stub again: For simple cases where you are only setting up simple stubs, you can condense the setup and cleanup into a single line: This sets up the stubs and then defers the Reset call. You should keep the return argument from the Stub call if you need to change stubs or add more stubs during test execution: The Stub call must be passed a pointer to the variable that should be stubbed, and a value which can be assigned to the variable. Test code Test code
2 versions
Latest release: over 2 years ago
93 dependent packages

View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/prashantv/gostub

View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/prashantv%2Fgostub

Dependent Repos 4,095

ryanlycch/go-zero-looklook Fork of Mikaelemmmm/go-zero-looklook
🔥基于go-zero(go zero) 微服务全技术栈开发最佳实践项目。Develop best practice projects based on the full technology stack of go zero (go zero) microservices.
  • v1.1.0 go.sum

Size: 101 MB - Last synced: about 2 months ago - Pushed: about 2 months ago

observIQ/grafana-agent Fork of grafana/agent
Telemetry agent for the LGTM stack.
  • v1.1.0 go.sum

Size: 48.3 MB - Last synced: 6 months ago - Pushed: 6 months ago

tharun208/loki Fork of grafana/loki
Like Prometheus, but for logs.
  • v1.1.0 go.sum

Size: 168 MB - Last synced: about 1 month ago - Pushed: about 1 year ago

FairwindsOps/insights-cli
A command line tool for Fairwinds Insights
  • v1.1.0 go.sum

Size: 460 KB - Last synced: about 1 month ago - Pushed: about 1 month ago

sapcc/absent-metrics-operator
Absent Metrics Operator creates metric absence alerts atop Kubernetes
  • v1.1.0 go.sum

Size: 10.1 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

choria-io/provisioner
Choria Server Provisioning System
  • v1.1.0 go.sum

Size: 4.6 MB - Last synced: about 2 months ago - Pushed: 3 months ago

rogue73/hugo Fork of gohugoio/hugo
The world’s fastest framework for building websites.
  • v1.1.0 go.sum

Size: 109 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

joelrebel/hollow-serverservice Fork of metal-toolbox/hollow-serverservice
The API service which leverages CockroachDB as a backend to inventory firmware, bios, and other hardware information required for cohesive fleet management
  • v1.1.0 go.sum

Size: 1.11 MB - Last synced: about 1 month ago - Pushed: 9 months ago

boostchicken/opentelemetry-collector-contrib Fork of open-telemetry/opentelemetry-collector-contrib
Contrib repository for the OpenTelemetry Collector
  • v1.1.0 cmd/configschema/go.sum
  • v1.1.0 cmd/otelcontribcol/go.sum
  • v1.1.0 cmd/oteltestbedcol/go.sum
  • v1.1.0 exporter/signalfxexporter/go.sum
  • v1.1.0 go.sum
  • v1.1.0 receiver/signalfxreceiver/go.sum
  • v1.1.0 testbed/go.sum

Size: 262 MB - Last synced: 24 days ago - Pushed: 6 months ago

PhoenixRedflash/hub Fork of artifacthub/hub
Find, install and publish Kubernetes packages
  • v1.1.0 go.sum

Size: 80.9 MB - Last synced: 26 days ago - Pushed: 26 days ago

jeschkies/loki Fork of grafana/loki
Like Prometheus, but for logs.
  • v1.1.0 go.sum

Size: 199 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

projectkeas/.template-service
Easily bootstrap a new service by using this template
  • v1.1.0 go.sum

Size: 92.8 KB - Last synced: about 2 months ago - Pushed: about 2 months ago

Joggz/services
  • v1.1.0 go.sum

Size: 781 KB - Last synced: about 1 year ago - Pushed: over 1 year ago

kuhufu/kratos-learning
  • v1.1.0 helloworld/go.sum

Size: 90.8 KB - Last synced: 7 months ago - Pushed: 7 months ago

coralogix/opentelemetry-collector-contrib Fork of open-telemetry/opentelemetry-collector-contrib
Contrib repository for the OpenTelemetry Collector
  • v1.1.0 cmd/configschema/go.sum
  • v1.1.0 exporter/sapmexporter/go.sum
  • v1.1.0 go.sum
  • v1.1.0 receiver/sapmreceiver/go.sum
  • v1.1.0 testbed/go.sum

Size: 367 MB - Last synced: 19 days ago - Pushed: 20 days ago

simar7/postee Fork of aquasecurity/postee
Integrate Aqua Security vulnerability scanning with ALM systems (JIRA, ServiceNow) and messaging systems (MS Teams, Slack and Simple Email)
  • v1.1.0 go.sum
  • v1.1.0 ui/backend/go.sum

Size: 4.41 MB - Last synced: 24 days ago - Pushed: 24 days ago

kokizzu/dtm Fork of dtm-labs/dtm
A distributed transaction framework that supports multiple languages, supports saga, tcc, xa, 2-phase message, outbox patterns.
  • v1.1.0 go.sum

Size: 3.29 MB - Last synced: 18 days ago - Pushed: 18 days ago

opsramp/opentelemetry-collector-contrib Fork of open-telemetry/opentelemetry-collector-contrib
Contrib repository for the OpenTelemetry Collector
  • v1.1.0 cmd/configschema/go.sum
  • v1.1.0 exporter/sapmexporter/go.sum
  • v1.1.0 go.sum
  • v1.1.0 receiver/sapmreceiver/go.sum
  • v1.1.0 testbed/go.sum

Size: 356 MB - Last synced: 6 days ago - Pushed: 7 days ago

jaegertracing/jaeger-clickhouse
Jaeger ClickHouse storage plugin implementation
  • v1.1.0 go.sum

Size: 2.06 MB - Last synced: 2 months ago - Pushed: 3 months ago

cbk914/trivy Fork of aquasecurity/trivy
Scanner for vulnerabilities in container images, file systems, and Git repositories, as well as for configuration issues and hard-coded secrets
  • v1.1.0 go.sum

Size: 690 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

v0rts/tfsec Fork of aquasecurity/tfsec
Security scanner for your Terraform code
  • v1.1.0 go.sum

Size: 96.9 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

chitrangpatel/chains Fork of tektoncd/chains
Supply Chain Security in Tekton Pipelines
  • v1.1.0 go.sum

Size: 56.7 MB - Last synced: 5 months ago - Pushed: 5 months ago

nativeit-dev/docker-ci
Workflow for publishing Docker images
  • v1.1.0 tools/cosign/go.sum

Size: 9.15 MB - Last synced: about 1 month ago - Pushed: about 1 year ago

gifhuppp/sourcegraph Fork of sourcegraph/sourcegraph
Universal code search (self-hosted)
  • v1.1.0 go.sum

Size: 639 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

jaegertracing/jaeger
CNCF Jaeger, a Distributed Tracing Platform
  • v1.1.0 go.sum

Size: 25.9 MB - Last synced: 24 days ago - Pushed: 24 days ago

zhaohuabing/jaeger Fork of jaegertracing/jaeger
CNCF Jaeger, a Distributed Tracing Platform
  • v1.1.0 go.sum

Size: 21.6 MB - Last synced: 24 days ago - Pushed: 24 days ago

sozercan/eraser Fork of eraser-dev/eraser
  • v1.1.0 go.sum

Size: 24.7 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

anilkumarnagaraj/infracost
  • v1.1.0 go.sum

Size: 6.31 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

PittYao/lebron Fork of zhoushuguang/lebron
Highly concurrent mall system built on go-zero
  • v1.1.0 go.sum

Size: 336 KB - Last synced: about 1 year ago - Pushed: almost 2 years ago

kitagry/regols
OPA Rego language server
  • v1.1.0 go.sum

Size: 298 KB - Last synced: 8 days ago - Pushed: 8 days ago

i3oc9i/dapr Fork of dapr/dapr
Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
  • v1.1.0 go.sum

Size: 112 MB - Last synced: 10 months ago - Pushed: 10 months ago

Taction/dapr Fork of dapr/dapr
Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
  • v1.1.0 go.sum

Size: 116 MB - Last synced: 6 days ago - Pushed: 6 days ago

joestarzxh/dapr Fork of dapr/dapr
Dapr is a portable, event-driven, runtime for building distributed applications across cloud and edge.
  • v1.1.0 go.sum

Size: 104 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

jesusvazquez/prometheus Fork of prometheus/prometheus
The Prometheus monitoring system and time series database.
  • v1.1.0 go.sum

Size: 152 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

oscarmherrera/dtm Fork of dtm-labs/dtm
A distributed transaction framework that supports multiple languages, supports saga, tcc, xa, 2-phase message, outbox patterns.
  • v1.1.0 go.sum

Size: 24.1 MB - Last synced: about 1 year ago - Pushed: almost 2 years ago

Bughalla/seaweedfs_seaweedfs Fork of seaweedfs/seaweedfs
SeaweedFS is a fast distributed storage system for blobs, objects, files, and data lake, for billions of files! Blob store has O(1) disk seek, cloud tiering. Filer supports Cloud Drive, cross-DC active-active replication, Kubernetes, POSIX FUSE mount, S3 API, S3 Gateway, Hadoop, WebDAV, encryption, Erasure Coding.
  • v1.1.0 go.sum

Size: 49.7 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

getoutreach/stencil-golang
Template repository for Golang applications
  • v1.1.0 pkg/go.sum

Size: 1.23 MB - Last synced: 3 days ago - Pushed: 3 days ago

Puppet-Finland/prometheus Fork of prometheus/prometheus
The Prometheus monitoring system and time series database.
  • v1.1.0 go.sum

Size: 143 MB - Last synced: 16 days ago - Pushed: almost 2 years ago

novegit/prometheus-operator Fork of prometheus-operator/prometheus-operator
Prometheus Operator creates/configures/manages Prometheus clusters atop Kubernetes
  • v1.1.0 go.sum

Size: 87.8 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

chenquan/go-zero Fork of zeromicro/go-zero
go-zero is a web and rpc framework written in Go. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity.
  • v1.1.0 go.sum
  • v1.1.0 tools/goctl/go.sum

Size: 20.1 MB - Last synced: 18 days ago - Pushed: 18 days ago

daviszhen/matrixone Fork of matrixorigin/matrixone
Planet scale, cloud-edge native big data engine crafted for heterogeneous workloads
  • v1.1.0 go.mod
  • v1.1.0 go.sum

Size: 99.4 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

projectkeas/connector-spacelift
The Spacelift connector for Keas
  • v1.1.0 go.sum

Size: 106 KB - Last synced: about 2 months ago - Pushed: about 2 months ago

sayan-biswas/tekton-results Fork of tektoncd/results
Long term storage of execution results.
  • v1.1.0 go.sum

Size: 48.6 MB - Last synced: 23 days ago - Pushed: 23 days ago

pianomanx/hugo Fork of gohugoio/hugo
The world’s fastest framework for building websites.
  • v1.1.0 go.sum

Size: 116 MB - Last synced: 6 days ago - Pushed: 6 days ago

projectkeas/ingestion
The core ingestion API for KEAS
  • v1.1.0 go.sum

Size: 70.3 KB - Last synced: 8 days ago - Pushed: 8 days ago

rizalgowandy/nats-server Fork of nats-io/nats-server
High-Performance server for NATS.io, the cloud and edge native messaging system.
  • v1.1.0 go.sum

Size: 22.6 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

projectkeas/connector-github
The Keas connector for Github
  • v1.1.0 go.sum

Size: 94.7 KB - Last synced: about 2 months ago - Pushed: about 2 months ago

szaydel/grafana-agent Fork of grafana/agent
Telemetry agent for the LGTM stack.
  • v1.1.0 go.sum

Size: 45.3 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

Bughalla/goreleaser_goreleaser Fork of goreleaser/goreleaser
Deliver Go binaries as fast and easily as possible
  • v1.1.0 go.sum

Size: 15.2 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

bilalcaliskan/golang-cli-template
  • v1.1.0 go.sum

Size: 187 KB - Last synced: 2 months ago - Pushed: 2 months ago

elastic/cloudbeat
Analyzing Cloud Security Posture
  • v1.1.0 go.sum

Size: 10.6 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

pjimming/Jimmy-CloudDisk
基于go-zero,xorm实现的轻量级云盘
  • v1.1.0 go.sum

Size: 17.1 MB - Last synced: about 1 year ago - Pushed: over 1 year ago

PangZhiww/go-zero Fork of zeromicro/go-zero
A web and RPC framework written in Go. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity.
  • v1.1.0 go.sum
  • v1.1.0 tools/goctl/go.sum

Size: 19 MB - Last synced: 4 months ago - Pushed: 4 months ago

Julien4218/temporal-newrelic-activity
  • v1.1.0 tools/go.sum

Size: 203 KB - Last synced: 6 months ago - Pushed: 6 months ago

DoNnMyTh/camel-k Fork of apache/camel-k
Apache Camel K is a lightweight integration platform, born on Kubernetes, with serverless superpowers
  • v1.1.0 go.sum

Size: 70.4 MB - Last synced: about 1 month ago - Pushed: over 1 year ago

honeycombio/refinery
Refinery is a trace-aware tail-based sampling proxy. It examines whole traces and intelligently applies sampling decisions (whether to keep or discard) to each trace.
  • v1.1.0 go.sum

Size: 4.62 MB - Last synced: 3 days ago - Pushed: 3 days ago

citado/s1-gw-ns 📦
Simulation 1: between gateway and network server lorawan
  • v1.1.0 go.sum

Size: 75.4 MB - Last synced: 11 months ago - Pushed: almost 2 years ago

SumoLogic/sumologic-otel-collector
Sumo Logic Distribution for OpenTelemetry Collector
  • v1.1.0 pkg/receiver/telegrafreceiver/go.sum

Size: 7.84 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

teal-finance/rainbow
DeFi options comparator to detect market opportunities with CLI (Go) and web (Vue3).
  • v1.1.0 go.sum

Size: 31.9 MB - Last synced: 4 days ago - Pushed: 4 days ago

johanneswuerbach/jaeger-s3 📦
Jaeger gRPC storage plugin for Amazon S3
  • v1.1.0 go.sum

Size: 670 KB - Last synced: 24 days ago - Pushed: 4 months ago

gotomicro/ego-component 📦
Ego 的客户端组件最佳实践
  • v1.1.0 ekafka/go.sum

Size: 1.1 MB - Last synced: about 1 month ago - Pushed: about 1 year ago

zhoushuguang/lebron
Highly concurrent mall system built on go-zero
  • v1.1.0 go.sum

Size: 521 KB - Last synced: about 2 months ago - Pushed: about 2 months ago

efectn/fiber-boilerplate
Simple and scalable boilerplate to build powerful and organized REST projects with Fiber.
  • v1.1.0 go.sum

Size: 265 KB - Last synced: about 1 month ago - Pushed: about 1 year ago

ww24/linebot
Chatbot for LINE (Shopping List, Reminder, ...)
  • v1.1.0 go.sum

Size: 1.13 MB - Last synced: about 1 month ago - Pushed: about 2 months ago

clouditor/clouditor
The Clouditor is a tool to support continuous cloud assurance. Developed by Fraunhofer AISEC.
  • v1.1.0 go.sum

Size: 22.9 MB - Last synced: about 1 month ago - Pushed: about 1 month ago

CyJaySong/go-zero Fork of zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
  • v1.1.0 go.sum
  • v1.1.0 tools/goctl/go.sum

Size: 18.3 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

kesonan/awesome-goctl
  • v1.1.0 new/greet/go.sum
  • v1.1.0 quickstart/micro/greet/go.sum
  • v1.1.0 quickstart/mono/greet/go.sum

Size: 248 KB - Last synced: 3 days ago - Pushed: almost 2 years ago

reposaur/reposaur
Open source compliance tool for development platforms.
  • v1.1.0 go.sum

Size: 800 KB - Last synced: 4 months ago - Pushed: 7 months ago

wzshiming/containerd Fork of containerd/containerd
An open and reliable container runtime
  • v1.1.0 integration/client/go.sum

Size: 91.2 MB - Last synced: 24 days ago - Pushed: 6 months ago

drakkan/sftpgo
Full-featured and highly configurable SFTP, HTTP/S, FTP/S and WebDAV server - S3, Google Cloud Storage, Azure Blob
  • v1.1.0 go.sum

Size: 30.4 MB - Last synced: 24 days ago - Pushed: 24 days ago

open-policy-agent/gatekeeper-external-data-provider
A template repository for building external data providers for Gatekeeper.
  • v1.1.0 go.sum

Size: 117 KB - Last synced: about 2 months ago - Pushed: 10 months ago

elastic/csp-security-policies
Cloud Security Posture security policies
  • v1.1.0 go.sum

Size: 2.72 MB - Last synced: about 1 month ago - Pushed: 5 months ago

LiangQinghai/go-zero Fork of zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
  • v1.1.0 go.sum
  • v1.1.0 tools/goctl/go.sum

Size: 19.7 MB - Last synced: 25 days ago - Pushed: 25 days ago

niclausse/go-zero Fork of zeromicro/go-zero
go-zero is a web and rpc framework written in Go. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity.
  • v1.1.0 go.sum
  • v1.1.0 tools/goctl/go.sum

Size: 9.31 MB - Last synced: about 1 year ago - Pushed: about 1 year ago

zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
  • v1.1.0 go.sum
  • v1.1.0 tools/goctl/go.sum

Size: 19.8 MB - Last synced: 3 days ago - Pushed: 10 days ago

keepinmindsh/lines_golang
  • v1.1.0 027_wrapping_interface/go.sum

Size: 3.1 MB - Last synced: about 1 month ago - Pushed: 4 months ago