> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeant.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Best practice

> [accordion] channel-guarded-with-mutex
>
> Detected a channel guarded with a mutex. Channels already have an internal mutex, so this is unnecessary. Remove the mutex. See [https://hackmongo.com/page/golang-antipatterns/#guarded-channel](https://hackmongo.com/page/golang-antipatterns/#guarded-channel) for more information.

> [accordion] hidden-goroutine
>
> Detected a hidden goroutine. Function invocations are expected to synchronous, and this function will execute asynchronously because all it does is call a goroutine. Instead, remove the internal goroutine and call the function using 'go'.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.