Typo2
This commit is contained in:
parent
dec43d2dba
commit
3b51c69948
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ type ButtonState struct {
|
|||
|
||||
// This is what a handler with a receiver looks like
|
||||
// Keep in mind that concurrent state access is not (usually) safe
|
||||
// And will in pracice be guarded by a mutex
|
||||
// And will in practice be guarded by a mutex
|
||||
func (b *ButtonState) pressHandler(w http.ResponseWriter, r *http.Request) {
|
||||
if r.Method == "POST" {
|
||||
b.PressCount++
|
||||
|
|
Loading…
Reference in a new issue