SkillAgentSearch skills...

Gpath

gpath is a Go package to access a field by a path using reflect pacakge

Install / Use

/learn @tenntenn/Gpath
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

gpath Go Documentation Travis Go Report Card codecov

gpath is a Go package to access a field by a path using reflect pacakge.

A path is represented by a Go's expression such as A.B.C[0]. You can use selector and index expressions into a path.

See usage and example in GoDoc.

NOTE: This package is experimental and may make backward-incompatible changes.

Install

Use go get:

$ go get github.com/tenntenn/gpath

Usage

All usage are described in GoDoc.

mercari/go-httpdoc is a good example for gpath.

View on GitHub
GitHub Stars41
CategoryDevelopment
Updated8mo ago
Forks4

Languages

Go

Security Score

87/100

Audited on Aug 11, 2025

No findings