alecthomas / alecthomas/assert

Is Nil() gone?

Aperta
#27 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
195
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.