
go:embed
Go Time: Golang, Software Engineering
00:00
JavaScript Script - JavaScript Asset Building Tools - Go File Path Matcher
Go has a built in pattern matching. It's in file path dot match. And it kind of stinks, to be honest. But once I figured that out, it was great. The gotcha there is that go doesn't support star star. So if you're familiar with a lot of the JavaScript asset building tools, they'll have, you know, star star slash star dot CSS will mean any CSS file anywhere underneath this particular path. Go only supports a single star in a particular location. That sort of resolution can be really tricky to do if you don't have the go tooling behind you. Like if you're not in the go tool, if you have to do it
Play episode from 21:03
Transcript


