names

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClassName

func ClassName(name string) string

ClassName 返回 型別名

func Directory

func Directory(pkg string) string

Directory 返回 檔案夾 路徑

func FieldName

func FieldName(name string) string

FieldName 返回 屬性名稱

func ImportName

func ImportName(pkg string) (name string)

ImportName import 後的包名

func ImportPath

func ImportPath(root, pkg string) string

ImportPath 返回 import 路徑

func Package

func Package(pkg string) string

Package 返回 包名

func ValName

func ValName(symbol types.Symbol, pkg string) (name string)

ValName 返回 型別名

Types

This section is empty.

Jump to

Keyboard shortcuts

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