10 lines
144 B
Go
10 lines
144 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
func (cfg *apiConfig) serveReset(w http.ResponseWriter, r *http.Request) {
|
||
|
cfg.fileserverHits.Store(0)
|
||
|
}
|