agiledragon / agiledragon/gomonkey
how to mock func which as a param in another func
Aberta
- Linguagem predominante
- Go
- Estrelas
- 2.3k
- Forks
- 192
- Merge médio
- 1d 6h
- PRs com merge (30d)
- 1
Descrição
how to mock method which as a param in another method
func BeginTx(ctx context.Context, opts *sql.TxOptions, do func(ctx context.Context) exception.CodeError) exception.CodeError {
```
)
for example, I want mock do method which in BeginTx, thanks for you answer
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.