c

package
v0.0.0-...-b28abe4 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Example1

type Example1 struct {
	Name string
}

func (*Example1) DemoEx1

func (e *Example1) DemoEx1() string

type Example2

type Example2 struct {
	Title string
	Json  Raw
	Bytes []byte // should be union
}

Example:

Some
code
sample

func (*Example2) DemoEx2

func (e *Example2) DemoEx2() time.Time

func (*Example2) DemoEx3

func (e *Example2) DemoEx3(arg *Example1) (*Example1, error)

Pointer as argument vs return type

func (*Example2) DemoEx4

func (e *Example2) DemoEx4(n1, n2, n3 string)

ommited types

func (*Example2) DemoEx5

func (e *Example2) DemoEx5(string, int)

ommited names

type Handler

type Handler func() string // after

func type comment

type Raw

type Raw []byte

Jump to

Keyboard shortcuts

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