embedunexport

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: Apache-2.0 Imports: 0 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

LITTEST

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Use

func Use(obj Object)

Use calls the unexported method through interface CHECK-LABEL: define void @"{{.*}}.Use"(%"{{.*}}.iface" %0){{.*}} { CHECK: %[[OBJ_DATA:[0-9]+]] = call ptr @"{{.*}}.IfacePtrData"(%"{{.*}}.iface" %0) CHECK: insertvalue { ptr, ptr } %{{[0-9]+}}, ptr %[[OBJ_DATA]], 1

Types

type Base

type Base struct {
	// contains filtered or unexported fields
}

Base implements Object

func NewBase

func NewBase(name string) *Base

CHECK-LABEL: define ptr @"{{.*}}.NewBase"(%"{{.*}}.String" %0){{.*}} { CHECK: [[NEW_BASE:%[0-9]+]] = call ptr @"{{.*}}/runtime/internal/runtime.AllocZ"(i64 16) CHECK-NEXT: [[NEW_BASE_NAME:%[0-9]+]] = getelementptr inbounds nuw %"{{.*}}.Base", ptr [[NEW_BASE]], i32 0, i32 0 CHECK-NEXT: store %"{{.*}}/runtime/internal/runtime.String" %0, ptr [[NEW_BASE_NAME]] CHECK-NEXT: ret ptr [[NEW_BASE]]

func (*Base) Name

func (b *Base) Name() string

type Object

type Object interface {
	Name() string
	// contains filtered or unexported methods
}

Object is an interface with both exported and unexported methods

Jump to

Keyboard shortcuts

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