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

fix: interface literal #2

Open
basaran opened this issue Nov 6, 2023 · 0 comments
Open

fix: interface literal #2

basaran opened this issue Nov 6, 2023 · 0 comments

Comments

@basaran
Copy link

basaran commented Nov 6, 2023

Hello, thank you for these great slides and the course.

I noticed a minor error on this slide.

go-19-objects-slides.pdf
composition is not inheritance

It should read as:

type Filenamer interface {
    Filename() string
}
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

No branches or pull requests

1 participant