convert

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

README

サンプルリスト

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

file example name note
strslice_to_ifslice.go convert_string_slice_to_interface_slice []string から []interface{} への変換についてのサンプルです.
int__to_str.go convert_int_to_str fmt.Sprint() を使って、数値 (int) を 文字列 (string) に変換するサンプルです
struct_to_str.go convert_struct_to_str fmt.Sprint() を利用して 構造体 を 文字列 にするサンプルです

Documentation

Overview

Package convert -- Go言語 における 型変換 の仕様についてのサンプルが配置されています.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IntToStr added in v0.2.5

func IntToStr() error

IntToStr は、fmt.Sprint() を使って、数値 (int) を 文字列 (string) に変換するサンプルです.

REFERENCES:

func NewRegister

func NewRegister() mapping.Register

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

func StringSliceToInterfaceSlice

func StringSliceToInterfaceSlice() error

StringSliceToInterfaceSlice -- []string から []interface{} への変換についてのサンプルです.

func StructToStr added in v0.2.5

func StructToStr() error

StructToStr は、fmt.Sprint() を利用して 構造体 を 文字列 にするサンプルです.

Types

This section is empty.

Jump to

Keyboard shortcuts

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