Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab 05 - Stringer #462

Open
starfallz opened this issue Jun 20, 2019 · 0 comments
Open

Lab 05 - Stringer #462

starfallz opened this issue Jun 20, 2019 · 0 comments
Assignees

Comments

@starfallz
Copy link
Collaborator

Lab 5 - Stringer

  • Create an executable go program in directory 05_stringer/USERNAME
  • Make the IPAddr type implement fmt.Stringer to print the address as a dotted quad
  • Find hints at tour of go exercise: stringers
  • Call fmt.Println(IPAddr{127, 0, 0, 1}) in main to print:
127.0.0.1
@starfallz starfallz self-assigned this Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant