Import symbol ! to passthrough errors
! is abbreviation of not nil
For example, to call function Sub in caller
func Sub(...) (T1, T2, error) {...}
Import symbol ! to passthrough errors
! is abbreviation of not nil
For example, to call function Sub in caller
func Sub(...) (T1, T2, error) {...}
# This code is licensed under the terms of the MIT license https://opensource.org/license/mit | |
# Copyright (c) 2021 Marat Reymers | |
## Golden config for golangci-lint v1.59.1 | |
# | |
# This is the best config for golangci-lint based on my experience and opinion. | |
# It is very strict, but not extremely strict. | |
# Feel free to adapt and change it for your needs. | |
run: |
Updated 2024-05-29
Uber [gomock][6] |
[testify][2] + [mockery][3] | [minimock][4] | [moq][5] | Google [gomock][1] |
|
---|---|---|---|---|---|
GitHub stars | [![s6]][6] | [![s2]][2] + [![s3]][3] | [![s4]][4] | [![s5]][5] | [![s1]][1] |
Latest release date | [![d6]][r6] | [![d2]][r2] + [![d3]][r3] | [![d4]][r4] | [![d5]][r5] | [![d1]][r1] |
Maintained | ✅ | ✅ | ✅ | :white_check |