alecthomas / alecthomas/assert

Is Nil() gone?

Aberta
#27 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
195
Forks
16
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hi and thanks for this library!
I recently found it and wanted to port some existing code to use it.

In the readme, it mentions the evaluation criteria, and that this function was decided to keep:

Nil(t, value) -> frequently used, keep

But, it seems to not be in the repo?

I am using github.com/alecthomas/assert/v2

Maybe I'm just doing it wrong?

EDIT: I see that `assert.NoError(t, err)` does what I want.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.