An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 0.7% dependent packages on proxy.golang.org
Top 1.3% dependent repos on proxy.golang.org

proxy.golang.org : github.com/Laisky/zap

Package zap provides fast, structured, leveled logging. For applications that log in the hot path, reflection-based serialization and string formatting are prohibitively expensive - they're CPU-intensive and make many small allocations. Put differently, using json.Marshal and fmt.Fprintf to log tons of interface{} makes your application slow. Zap takes a different approach. It includes a reflection-free, zero-allocation JSON encoder, and the base Logger strives to avoid serialization overhead and allocations wherever possible. By building the high-level SugaredLogger on that foundation, zap lets users choose when they need to count every allocation and when they'd prefer a more familiar, loosely typed API. In contexts where performance is nice, but not critical, use the SugaredLogger. It's 4-10x faster than other structured logging packages and supports both structured and printf-style logging. Like log15 and go-kit, the SugaredLogger's structured logging APIs are loosely typed and accept a variadic number of key-value pairs. (For more advanced use cases, they also accept strongly typed fields - see the SugaredLogger.With documentation for details.) By default, loggers are unbuffered. However, since zap's low-level APIs allow buffering, calling Sync before letting your process exit is a good habit. In the rare contexts where every microsecond and every allocation matter, use the Logger. It's even faster than the SugaredLogger and allocates far less, but it only supports strongly-typed, structured logging. Choosing between the Logger and SugaredLogger doesn't need to be an application-wide decision: converting between the two is simple and inexpensive. The simplest way to build a Logger is to use zap's opinionated presets: NewExample, NewProduction, and NewDevelopment. These presets build a logger with a single function call: Presets are fine for small projects, but larger projects and organizations naturally require a bit more customization. For most users, zap's Config struct strikes the right balance between flexibility and convenience. See the package-level BasicConfiguration example for sample code. More unusual configurations (splitting output between files, sending logs to a message queue, etc.) are possible, but require direct use of github.com/Laisky/zap/zapcore. See the package-level AdvancedConfiguration example for sample code. The zap package itself is a relatively thin wrapper around the interfaces in github.com/Laisky/zap/zapcore. Extending zap to support a new encoding (e.g., BSON), a new log sink (e.g., Kafka), or something more exotic (perhaps an exception aggregation service, like Sentry or Rollbar) typically requires implementing the zapcore.Encoder, zapcore.WriteSyncer, or zapcore.Core interfaces. See the zapcore documentation for details. Similarly, package authors can use the high-performance Encoder and Core implementations in the zapcore package to build their own loggers. An FAQ covering everything from installation errors to design decisions is available at https://github.com/uber-go/zap/blob/master/FAQ.md.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21laisky/zap
License: MIT
Latest release: about 1 year ago
First release: over 8 years ago
Namespace: github.com/Laisky
Dependent packages: 43
Dependent repositories: 16
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 15 days ago

Top 8.2% on proxy.golang.org
github.com/Laisky/go-ramjet v0.0.0-20240122014853-63a3b72ff1fd
Package main implements the entry of ramjet.
81 versions - Latest release: over 1 year ago - 4 stars on GitHub
github.com/laisky/go-yubikey v1.0.0
1 version - Latest release: about 2 years ago - 0 stars on GitHub
github.com/Laisky/go-yubikey v1.0.0
Package goyubikey utils for yubikey
3 versions - Latest release: about 2 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/go-utils/v3 v3.5.0 πŸ’°
golang utils
13 versions - Latest release: over 2 years ago - 20 stars on GitHub
Top 6.1% on proxy.golang.org
github.com/Laisky/go-utils/v3 v3.5.0 πŸ’°
Package utils some useful tools fo Golang Contains some useful tools in different directories:
13 versions - Latest release: over 2 years ago - 6 dependent packages - 1 dependent repositories - 20 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/go-redis v1.1.0
redis utils
5 versions - Latest release: over 2 years ago - 0 stars on GitHub
github.com/Laisky/go-redis v1.1.0
redis utils
5 versions - Latest release: over 2 years ago - 2 dependent packages - 1 dependent repositories - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/go-utils/v2 v2.3.0 πŸ’°
golang utils
10 versions - Latest release: over 2 years ago - 20 stars on GitHub
Top 5.5% on proxy.golang.org
github.com/Laisky/go-utils/v2 v2.3.0 πŸ’°
Package utils some useful tools fo Golang Contains some useful tools in different directories:
10 versions - Latest release: over 2 years ago - 9 dependent packages - 4 dependent repositories - 20 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/go-utils v1.17.1 πŸ’°
Package utils 一些常用ε·₯ε…·
92 versions - Latest release: over 2 years ago - 20 stars on GitHub
Top 5.1% on proxy.golang.org
github.com/Laisky/go-utils v1.17.1 πŸ’°
Package utils some useful tools fo Golang Contains some useful tools in different directories:
93 versions - Latest release: over 2 years ago - 24 dependent packages - 11 dependent repositories - 20 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/laisky-blog-graphql v1.0.1
graphql backend for laisky-blog
30 versions - Latest release: over 2 years ago - 21 stars on GitHub
Top 5.8% on proxy.golang.org
github.com/Laisky/laisky-blog-graphql v1.0.1
graphql backend for laisky-blog
30 versions - Latest release: over 2 years ago - 2 dependent packages - 2 dependent repositories - 21 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/gin-middlewares/v4 v4.0.1
2 versions - Latest release: over 2 years ago - 2 stars on GitHub
Top 7.4% on proxy.golang.org
github.com/Laisky/gin-middlewares/v4 v4.0.1
Package middlewares useful middlewares Package middlewares some useful middlewares for gin
2 versions - Latest release: over 2 years ago - 3 dependent packages - 2 stars on GitHub
Top 8.4% on proxy.golang.org
github.com/Laisky/go-config/v2 v2.0.0
Package config is config file manager for golang
1 version - Latest release: over 2 years ago - 1 dependent package - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/go-config/v2 v2.0.0
go config files base by viper
1 version - Latest release: over 2 years ago - 0 stars on GitHub
Top 7.4% on proxy.golang.org
github.com/Laisky/gin-middlewares/v3 v3.0.1
Package middlewares useful middlewares Package middlewares some useful middlewares for gin
2 versions - Latest release: over 2 years ago - 2 dependent packages - 2 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/gin-middlewares/v3 v3.0.1
2 versions - Latest release: over 2 years ago - 2 stars on GitHub
github.com/Laisky/gin-middlewares/v2 v2.1.2
Package middlewares useful middlewares
4 versions - Latest release: over 2 years ago - 3 dependent packages - 2 dependent repositories - 2 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/gin-middlewares/v2 v2.1.2
4 versions - Latest release: over 2 years ago - 2 stars on GitHub
github.com/Laisky/go-config v1.0.1
Package config is config file manager for golang
2 versions - Latest release: almost 3 years ago - 3 dependent packages - 2 dependent repositories - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/laisky/go-config v1.0.1
go config files base by viper
2 versions - Latest release: almost 3 years ago - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/Laisky/go-httpguard/v2 v2.0.1
simple http proxy with JWT
2 versions - Latest release: almost 3 years ago - 0 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/laisky/go-httpguard/v2 v2.0.1 removed
2 versions - Latest release: almost 3 years ago
Top 4.1% on proxy.golang.org
github.com/laisky/gin-middlewares v1.3.0 removed
6 versions - Latest release: over 3 years ago
github.com/Laisky/gin-middlewares v1.3.0
6 versions - Latest release: over 3 years ago - 4 dependent packages - 4 dependent repositories - 2 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/Laisky/go-eventengine v0.0.0-20210729090244-abf0de2880ba
simple event driven tools
1 version - Latest release: almost 4 years ago - 2 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/go-eventengine v1.0.0
simple event driven tools
1 version - Latest release: almost 4 years ago - 2 stars on GitHub
github.com/Laisky/go-journal v1.1.6
WAL log
10 versions - Latest release: almost 5 years ago - 2 dependent packages - 1 dependent repositories - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/go-journal v1.1.6
WAL log
10 versions - Latest release: almost 5 years ago - 0 stars on GitHub
Top 4.5% on proxy.golang.org
github.com/Laisky/go-fluentd v1.13.3
rewrite fluentd in golang
27 versions - Latest release: about 5 years ago - 2 dependent packages - 110 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/laisky/go-fluentd v1.13.3
rewrite fluentd in golang
27 versions - Latest release: about 5 years ago - 111 stars on GitHub
github.com/Laisky/go-kafka v1.0.1
2 versions - Latest release: about 5 years ago - 2 dependent packages - 1 dependent repositories - 0 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/laisky/go-kafka v1.0.1 removed
2 versions - Latest release: about 5 years ago
Top 4.1% on proxy.golang.org
github.com/laisky/go-httpguard v0.3.2 removed
5 versions - Latest release: over 5 years ago
Top 9.0% on proxy.golang.org
github.com/Laisky/go-httpguard v0.3.2
simple http proxy with JWT
5 versions - Latest release: over 5 years ago - 0 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/laisky/zipkin-query-graphql v0.0.4
graphql to query zipkin trace data
3 versions - Latest release: over 5 years ago - 0 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.