Skip to content

Commit

Permalink
tour: add blog links for generics for context
Browse files Browse the repository at this point in the history
The tour slides are slim for generics, adding links to the blog articles
about generics similar to how "/tour/moretypes/15" links to the blog on
slices adds a place to expand the the readers knowledge.

Added links to generics blog entries on last generics slide.
  • Loading branch information
crisman committed Mar 19, 2023
1 parent 3c15923 commit 3bd75e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _content/tour/generics.article
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ In addition to generic functions, Go also supports generic types. A type can
be parameterized with a type parameter, which could be useful for implementing
generic data structures.

(To learn more about generics, read the [[https://go.dev/blog/intro-generics][An Introduction To Generics]]
and [[https://go.dev/blog/when-generics][When To Use Generics]] articles.)

This example demonstrates a simple type declaration for a singly-linked list
holding any type of value.

Expand Down

0 comments on commit 3bd75e8

Please sign in to comment.