multiple_interfaces

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Package = &ifacereader.Package{
	Name: "pkg1",
	Path: "pkgs/pkg1",
	Interfaces: []*ifacereader.Interface{
		{
			Name: "StringTransformable",
			Methods: []*ifacereader.Method{
				{
					Name: "TransformString",
					Inputs: []*ifacereader.Tuple{
						{VariableName: "prefix", Type: "string"},
						{VariableName: "str", Type: "string"},
					},
					Outputs: []*ifacereader.Tuple{
						{VariableName: "", Type: "string"},
						{VariableName: "", Type: "error"},
					},
				},
			},
		},
		{
			Name: "NumberTransformable",
			Methods: []*ifacereader.Method{
				{
					Name: "TransformInt",
					Inputs: []*ifacereader.Tuple{
						{VariableName: "i", Type: "int"},
					},
					Outputs: []*ifacereader.Tuple{
						{VariableName: "", Type: "int"},
					},
				},
				{
					Name: "TransformFloat64",
					Inputs: []*ifacereader.Tuple{
						{VariableName: "f", Type: "float64"},
					},
					Outputs: []*ifacereader.Tuple{
						{VariableName: "", Type: "float64"},
					},
				},
			},
		},
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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