You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: topics/go/packages/context/README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
## Context - Standard Library
2
2
3
-
The package context defines the Context type, which carries deadlines, cancelation signals, and other request-scoped values across API boundaries and between processes.
3
+
The package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.
4
4
5
5
## Notes
6
6
@@ -38,7 +38,7 @@ The package context defines the Context type, which carries deadlines, cancelati
38
38
39
39
Use the template and follow the directions. You will be writing a web handler that performs a mock database call but will timeout based on a context if the call takes too long. You will also save state into the context.
Copy file name to clipboardexpand all lines: topics/go/packages/reflection/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ Example shows how to use reflection to decode an integer.
46
46
### Exercise 1
47
47
Declare a struct type that represents a request for a customer invoice. Include a CustomerID and InvoiceID field. Define tags that can be used to validate the request. Define tags that specify both the length and range for the ID to be valid. Declare a function named validate that accepts values of any type and processes the tags. Display the results of the validation.
0 commit comments