package
0.5.36
Repository: https://github.com/devlights/try-golang.git
Documentation: pkg.go.dev

# README

サンプルリスト

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

fileexample namenote
hex_to_dec.gostrconvs_hex_to_dec16進数文字列を10進数に変換するサンプルです.
bin_to_dec.gostrconvs_bin_to_dec2進数文字列を10進数に変換するサンプルです.
dec_to_dec.gostrconvs_dec_to_dec10進数文字列を10進数に変換するサンプルです.
hex_to_bin.gostrconvs_hex_to_bin16進数文字列を2進数文字列に変換するサンプルです.
bin_to_hex.gostrconvs_bin_to_hex2進数文字列を16進数文字列に変換するサンプルです.
parseint_tips_bitsize.gostrconvs_parseint_tips_bitsizestrconv.ParseInt() の第3引数 bitSize を指定する際のTipsです。
parseint_tips_basevalue.gostrconvs_parseint_tips_basestrconv.ParseInt() の第2引数 base を指定する際のTipsです。

# Functions

BinToDec -- 2進数文字列を10進数に変換するサンプルです.
BinToHex -- 2進数文字列から16進数文字列へ変換するサンプルです。.
DecToDec -- 10進数文字列を10進数に変換するサンプルです.
HexToBin -- 16進数から2進数文字列へ変換するサンプルです。.
HexToDec -- 16進数文字列を10進数に変換するサンプルです.
NewRegister -- このパッケージ用のサンプルを登録する mapping.Register を生成します。.
ParseIntTipsBaseValue -- strconv.ParseInt() の第2引数 base を指定する際のTipsです。 REFERENCES - https://pkg.go.dev/strconv@latest#ParseInt.
ParseIntTipsBitSize -- strconv.ParseInt() の第3引数 bitSize を指定する際のTipsです。 REFERENCES - https://pkg.go.dev/strconv@latest#ParseInt.