mirror of
https://github.com/wahyd4/knowledge.git
synced 2026-08-09 05:06:28 +10:00
Test alert syntx
This commit is contained in:
+2
-5
@@ -1,5 +1,3 @@
|
||||
# Go
|
||||
|
||||
## pass pointer or value
|
||||
- value: Variable must not be modified
|
||||
- Variable is a large struct then prefer pointer
|
||||
@@ -150,9 +148,8 @@ func main() {
|
||||
|
||||
|
||||
### RWMutex
|
||||
> A RWMutex is a reader/writer mutual exclusion lock. The lock can be held by an arbitrary number of readers or a single writer. The zero value for a RWMutex is an unlocked mutex.
|
||||
|
||||
In other words, readers don't have to wait for each other. They only have to wait for writers holding the lock.
|
||||
!> A RWMutex is a reader/writer mutual exclusion lock. The lock can be held by an arbitrary number of readers or a single writer. The zero value for a RWMutex is an unlocked mutex.
|
||||
!> In other words, readers don't have to wait for each other. They only have to wait for writers holding the lock.
|
||||
|
||||
### string literals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user