sets

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 3 Imported by: 0

README

サンプルリスト

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

file example name note
newset.go set_newset mapset.NewSet() の サンプル
union.go set_union Set.Union() の 動作確認のサンプルです
difference.go set_difference Set.Difference() の動作確認のサンプルです
intersect.go set_intersect Set.Intersect の動作確認のサンプルです
symmetricdiff.go set_symmetricdiff Set.SymmetricDifference() の動作確認のサンプルです
usingmap.go set_using_map_as_set map を set の代用として利用できることを確認するサンプルです

Documentation

Overview

Package sets は、Go で golang-set パッケージのサンプルが配置されています。

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Difference

func Difference() error

Difference -- Set.Difference() の動作確認のサンプルです。

func Intersect

func Intersect() error

Intersect -- Set.Intersect の動作確認のサンプルです。

func NewRegister

func NewRegister() mapping.Register

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

func NewSet

func NewSet() error

NewSet - mapset.NewSet() の サンプル REFERENCES:: https://github.com/deckarep/golang-set

func SymmetricDiff

func SymmetricDiff() error

SymmetricDiff -- Set.SymmetricDifference() の動作確認のサンプルです。

func Union

func Union() error

Union -- Set.Union() の 動作確認のサンプルです。

func UsingMap

func UsingMap() error

UsingMap -- map を set の代用として利用できることを確認するサンプルです。

Types

This section is empty.

Jump to

Keyboard shortcuts

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