statement

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CharacterLimit int = 35

Variables

This section is empty.

Functions

func Count added in v0.3.0

func Count(s string) int

Count 文字数を数える ただし、英数字やスペースは0.5文字換算、小数点は切り上げる。

Types

type NgStatement

type NgStatement struct {
	// contains filtered or unexported fields
}

func NewNgStatement

func NewNgStatement(body string) (*NgStatement, error)

func (*NgStatement) OverCount

func (s *NgStatement) OverCount() int

func (*NgStatement) String

func (s *NgStatement) String() string

type NgStatements

type NgStatements []NgStatement

func NewNgStatements

func NewNgStatements(line string) (NgStatements, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL