mypkg

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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HasNoPublicFields

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

HasNoPublicFields -- サンプル用の構造体 private な フィールドを持つ

func (*HasNoPublicFields) GetValues

func (h *HasNoPublicFields) GetValues() string

GetValues -- サンプル用メソッド

type HasPublicFields

type HasPublicFields struct {
	// Val1 -- 値1
	Val1 int
	// Val2 -- 値2
	Val2 string
}

HasPublicFields -- サンプル用の構造体 public な フィールドを持つ

func (*HasPublicFields) GetValues

func (h *HasPublicFields) GetValues() string

GetValues -- サンプル用メソッド

type ICanDisplayValues

type ICanDisplayValues interface {
	// GetValues -- サンプル用インターフェースメソッド
	GetValues() string
}

ICanDisplayValues -- サンプル用インターフェース

Jump to

Keyboard shortcuts

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