alecthomas / alecthomas/kong

String type support for `filecontent`

Aperta
#482 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
3.2k
Fork
188
Merge medio
1g 1h
PR unite (30g)
2

Descrizione

Currently `filecontent` requires a field to be `[]byte`. I would propose that it also allows `string` field in which case file contents is simply converted with `string(...)` in Go. It allows one to signal that the flag expects a textual file as input.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.