utils

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeAbsolutePath

func ComputeAbsolutePath(href string, base afs.Path) (afs.Path, error)

ComputeAbsolutePath ... 把 href 解析为完整的绝对路径

Types

type PropertiesTools

type PropertiesTools struct {
}

PropertiesTools 提供一组操作 collection.Properties 的快捷工具

func (PropertiesTools) ListNames

func (PropertiesTools) ListNames(p collection.Properties, prefix string, suffix string) []string

ListNames 根据提供的前缀和后缀,找出相应的属性名称 prefix like 'xxxxxxx.' suffix like '.xxxxxxx'

Jump to

Keyboard shortcuts

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