stdout

package
v0.5.18 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 2 Imported by: 0

README

サンプルリスト

このディレクトリには以下のサンプルがあります。

file example name note
printf01.go printf01 標準出力についてのサンプル
printf02.go printf02 標準出力についてのサンプル
printf03.go printf03 標準出力についてのサンプル
println01.go println01 標準出力についてのサンプル

Documentation

Overview

Package stdout -- 標準出力についてのサンプルが配置されているパッケージです。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRegister

func NewRegister() mapping.Register

NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。

func Printf01

func Printf01() error

Printf01 -- 標準出力についてのサンプル

func Printf02

func Printf02() error

Printf02 -- 標準出力についてのサンプル

func Printf03

func Printf03() error

Printf03 -- 標準出力についてのサンプル

func Println01

func Println01() error

Println01 -- 標準出力についてのサンプル

Types

type MyData

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

MyData -- サンプル用の構造体

func (*MyData) GetValue

func (m *MyData) GetValue() string

GetValue -- 慣習として メソッドレシーバーの名前は構造体名の先頭一文字にする模様。 self や this にすると警告が表示される

https://qiita.com/hnakamur/items/c99e3048f8902702a5a1

func (*MyData) GetValue2

func (m *MyData) GetValue2() string

GetValue2 -- 出力用メソッド

func (*MyData) GetValue3

func (m *MyData) GetValue3() string

GetValue3 -- 出力用メソッド

func (*MyData) GetValue4

func (m *MyData) GetValue4() string

GetValue4 -- 出力用メソッド

Jump to

Keyboard shortcuts

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