Skip to content

[Sept Sprint] New exercise teaching type-conversion #1645

@ErikSchierboom

Description

@ErikSchierboom

This is part of our September Spring to get the Go Track in shape. Please read the Overview issue for more details. This exercise is claimed by @jmrunkle.


Before building this exercise (or exercises), please read up on the documentation.

We need an exercise for the type-casting and type-assertions concepts. Since there is sometimes confusion around those two things, it makes sense to teach both in the same exercise to demonstrate how they are related.

If it makes sense, this exercise could also teach about the type-switch concept.

The exercise should teach:

  • How to convert from one type to another
  • How to assert a type
  • How to assert an interface type

This exercise will have at least interfaces as a prerequisite.


Remaining work:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions