logrus.errorf() causes panics?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • logrus

    Structured, pluggable logging for Go.

    Based on this snippet, it might be worth checking what logrus.PanicLevel is set to, inside your unit test.

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • zap

    Blazing fast, structured, leveled logging in Go.

  • Testify

    A toolkit with common assertions and mocks that plays nicely with the standard library

    There is a nice package called testify: https://github.com/stretchr/testify

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Leverage Your Test Suite With testcontainers-go & docker-compose

    4 projects | dev.to | 4 Oct 2024
  • I curate a daily newsletter with resources about Golang - Daily Golang. Here are the latest 6 issues of the newsletter

    3 projects | dev.to | 19 Aug 2024
  • New version of minimal test helper "be" with golden file support

    1 project | /r/golang | 2 Jun 2023
  • Gocrest v1.1.0 released

    1 project | /r/golang | 1 Apr 2023
  • GoCrest v1.0.8 released

    1 project | /r/golang | 24 Mar 2023

Did you konow that Go is
the 4th most popular programming language
based on number of metions?