internal

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFuncName

func GetFuncName(f interface{}, arg ...Args) string

get the local name of the function from a pointer

args: FullName, OnlyFunc, OnlyPakg, Both

If more than 2 args are passed the function will behave as if no argument were passed

func InitialRun

func InitialRun(config config.SyncConfig)

Types

type Args

type Args int

define possible args

const (
	// The full name with all the packages
	FullName Args = iota
	// Only the function name
	OnlyFunc
	// Only the package name
	OnlyPkg
	// Just the function name and the package it has been declared in
	Both
)

Jump to

Keyboard shortcuts

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