console

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2015 License: GPL-2.0 Imports: 4 Imported by: 7

Documentation

Overview

コンソール出力処理パッケージ コンソール出力に関する処理をまとめる。

Index

Constants

View Source
const USAGE = `` /* 398-byte string literal not displayed */

USAGE表示用の定義メッセージ

View Source
const USAGE_SHOW = `` /* 867-byte string literal not displayed */

showユーティリティのUSAGE表示用の定義メッセージ

Variables

This section is empty.

Functions

func Display

func Display(code string, a ...interface{}) (int, error)

標準出力へメッセージコードcodeに対応したメッセージを表示する。

param : code メッセージコードID。

param : a... メッセージの書式制御文字に渡す内容。

return : 出力文字数。

return : エラー情報。

func DisplayError

func DisplayError(code string, a ...interface{}) (int, error)

標準エラー出力へメッセージコードcodeに対応したメッセージを表示する。

param : code メッセージコードID。

param : a... メッセージの書式制御文字に渡す内容。

return : 出力文字数。

return : エラー情報。

func GetMessage

func GetMessage(code string, a ...interface{}) string

出力メッセージを文字列型で取得する。

param : code メッセージコードID。

param : a... メッセージの書式制御文字に渡す内容。

return : 取得したメッセージ

func PrintStack

func PrintStack()

Types

This section is empty.

Jump to

Keyboard shortcuts

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