Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TestASCIIString ¶
func TestEmptyString ¶
func TestRussianString ¶
Types ¶
type Impl1 ¶
type Impl1 struct {
// contains filtered or unexported fields
}
Incorrect implementation: wrongly counts lines.
func (Impl1) Characters ¶
type Impl2 ¶
type Impl2 struct {
// contains filtered or unexported fields
}
Incorrect implementation: wrongly determines characters.
func (Impl2) Characters ¶
type Impl3 ¶
type Impl3 struct {
// contains filtered or unexported fields
}
Incorrect implementation: assumes ASCII.
func (Impl3) Characters ¶
type Impl4 ¶
type Impl4 struct {
// contains filtered or unexported fields
}
Correct implementation
func (Impl4) Characters ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.