mirror of
https://github.com/onyx-and-iris/gignore.git
synced 2025-04-01 19:23:51 +01:00
10 lines
178 B
Go
10 lines
178 B
Go
package gignore
|
|
|
|
type Option func(*GignoreClient)
|
|
|
|
func WithTemplateDirectory(directory string) Option {
|
|
return func(g *GignoreClient) {
|
|
g.registry.Directory = directory
|
|
}
|
|
}
|