Created
September 3, 2022 18:47
-
-
Save madflojo/f1032b568a906caf20fbc7def0fa390a to your computer and use it in GitHub Desktop.
Threadsafe Packages - HTTP Handler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http.HandleFunc("/count", func(w http.ResponseWriter, r *http.Request) { | |
counter = counter + 1 | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment