functions

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MIT Imports: 2 Imported by: 0

README

サンプルリスト

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

file example name note
function_one_return_value.go function_one_return_value 戻り値が一つの関数定義のサンプル
function_multi_return_value.go function_multi_return_value 複数の戻り値を持つ関数を定義できることを確認するサンプルです。
function_named_return_value.go function_named_return_value Goでは関数の戻り値に名前を付与しておくことが出来ることを確認するサンプルです。

Documentation

Overview

Package functions -- 関数についてのサンプルが配置されているパッケージです。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FunctionMultiReturnValue

func FunctionMultiReturnValue() error

FunctionMultiReturnValue -- 複数の戻り値を持つ関数を定義できることを確認するサンプルです。

func FunctionNamedReturnValue

func FunctionNamedReturnValue() error

FunctionNamedReturnValue -- Goでは関数の戻り値に名前を付与しておくことが出来ることを確認するサンプルです。

func FunctionOneReturnValue

func FunctionOneReturnValue() error

FunctionOneReturnValue -- 戻り値が一つの関数定義のサンプル

func NewRegister

func NewRegister() mapping.Register

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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