book

package
v0.0.0-...-c9361cd Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

package book is an internal package used for test comments

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BookFunc

func BookFunc(
	arg0 string,
	arg1 string,
) (
	res0 string,
	res1 string,
)

BookFunc is a function comment

Types

type Book

type Book struct {

	// field comment1
	//
	// blank line
	// #field comment
	Name string // Book.Name side comment

} // Book side comment

#struct comment

type Book2

type Book2 struct {
	// #field comment
	Name string
	/*
		other form
		line 2

		after line
	*/
	Author int
}

#struct comment

type BookInterface

type BookInterface interface {
	// func comment in interface
	Read0(Book) error // Read0 side comments

	Read1() error // Read1 side comments

	Read2(read2param0 string, read2param1 int) (int, error) // Read2 side comments

	Read3(read3param0 string, read3param1 int) (i int, err error) // Read3 side comments
}

#interface comments

type Books

type Books []Book

#Named slice comment

type Named

type Named string

#Named type comment

type NamedBook

type NamedBook Book

#Named struct comment

Jump to

Keyboard shortcuts

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