gkampitakis / go-snaps

Jest-like snapshot testing in Go 📸
https://pkg.go.dev/github.com/gkampitakis/go-snaps
MIT License
174 stars 6 forks source link

[Feature Request]: Add docs on path syntax #83

Closed mrsufgi closed 10 months ago

mrsufgi commented 12 months ago

🚀 Feature Proposal

Add docs on path syntax.

It took me some time to figure out the JSON path structure for matchers.

I ended up finding: https://pkg.go.dev/github.com/tidwall/gjson@v1.17.0#readme-path-syntax

Which is the package used for handling JSON paths here.

A referral to the docs would be an excellent addition.

<3

Motivation

No response

Example

No response

gkampitakis commented 11 months ago

Hey 👋 Thanks a lot for opening this issue. I am sorry for this, I thought I have linked it already on the docs.