Documentation ¶
Index ¶
- Variables
- func FormatISO8601(t time.Time) string
- func MeasureScenario(ctx context.Context, scenarioFn func(ctx context.Context) error) (time.Duration, error)
- func ParseISO8601(t string) (time.Time, error)
- func ParseURL(urlStr string) (*url.URL, error)
- func RandRangeIntn(min, max int) int
- func SecureRandomStr(b int) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrURLHostEmpty = errors.New("URLのホスト部が空です")
)
Functions ¶
func MeasureScenario ¶
func MeasureScenario(ctx context.Context, scenarioFn func(ctx context.Context) error) (time.Duration, error)
MeasureScenario はシナリオの経過時間を計測します
func ParseISO8601 ¶
ParseISO8601 はISO8601形式で時刻をパースします
func RandRangeIntn ¶
func SecureRandomStr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.