Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Go
/
Interfaces
Given func (s *Sequence) Next() int, which compile-time assertion is valid?
from Interfaces
Go 1.27
beginner
1 min
Given func (s *Sequence) Next() int, which compile-time assertion is valid?
var _ Counter = (*Sequence)(nil)
var _ Counter = Sequence{}
var _ *Counter = Sequence{}
var _ Sequence = Counter(nil)
Check
Ask AI about this kata
Report an error
next kata
Which branch handles the OrderID value?
Predict the output
A new version is available
Reload