scope

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: 5 Imported by: 0

README

# サンプルリスト

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

file example name note
scope_basic.go scope_basic スコープについての基本的な事項についてのサンプルです.
scope_common_mistake1.go scope_common_mistake1 変数宣言のスコープによるよくやる間違いについてのサンプルです.
scope_common_mistake2.go scope_common_mistake2 CommonMistake1の間違い修正パターン (1)
scope_common_mistake3.go scope_common_mistake3 CommonMistake1の間違い修正パターン (2)

Documentation

Overview

Package scope -- Go言語のスコープについてのサンプルが配置されているパッケージです。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Basic

func Basic() error

Basic は、スコープについての基本的な事項についてのサンプルです. noinspection GoNameStartsWithPackageName

func CommonMistake1

func CommonMistake1() error

CommonMistake1 -- 変数宣言のスコープによるよくやる間違いについてのサンプルです.

func CommonMistake2

func CommonMistake2() error

CommonMistake2 -- CommonMistake1の間違い修正パターン (1)

func CommonMistake3

func CommonMistake3() error

CommonMistake3 -- CommonMistake1の間違い修正パターン (2)

func NewRegister

func NewRegister() mapping.Register

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

func ShowValues

func ShowValues(obj mypkg.ICanDisplayValues)

ShowValues -- サンプル関数

Types

This section is empty.

Directories

Path Synopsis
Package mypkg -- gitub.com/devlights/try-golang/basic/scope 用のテストデータが定義されています。
Package mypkg -- gitub.com/devlights/try-golang/basic/scope 用のテストデータが定義されています。

Jump to

Keyboard shortcuts

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