@@ -104,10 +104,10 @@ func FindFiles(dir string) *Pipe {
104104	return  Slice (paths )
105105}
106106
107- // Get creates a pipe that makes an HTTP GET request to URL , and produces the 
107+ // Get creates a pipe that makes an HTTP GET request to url , and produces the 
108108// response. See [Pipe.Do] for how the HTTP response status is interpreted. 
109- func  Get (URL  string ) * Pipe  {
110- 	return  NewPipe ().Get (URL )
109+ func  Get (url  string ) * Pipe  {
110+ 	return  NewPipe ().Get (url )
111111}
112112
113113// IfExists tests whether path exists, and creates a pipe whose error status 
@@ -169,11 +169,11 @@ func NewPipe() *Pipe {
169169	}
170170}
171171
172- // Post creates a pipe that makes an HTTP POST request to URL , with an empty 
172+ // Post creates a pipe that makes an HTTP POST request to url , with an empty 
173173// body, and produces the response. See [Pipe.Do] for how the HTTP response 
174174// status is interpreted. 
175- func  Post (URL  string ) * Pipe  {
176- 	return  NewPipe ().Post (URL )
175+ func  Post (url  string ) * Pipe  {
176+ 	return  NewPipe ().Post (url )
177177}
178178
179179// Slice creates a pipe containing each element of s, one per line. 
@@ -584,11 +584,11 @@ func (p *Pipe) Freq() *Pipe {
584584	})
585585}
586586
587- // Get makes an HTTP GET request to URL , sending the contents of the pipe as 
587+ // Get makes an HTTP GET request to url , sending the contents of the pipe as 
588588// the request body, and produces the server's response. See [Pipe.Do] for how 
589589// the HTTP response status is interpreted. 
590- func  (p  * Pipe ) Get (URL  string ) * Pipe  {
591- 	req , err  :=  http .NewRequest (http .MethodGet , URL , p .Reader )
590+ func  (p  * Pipe ) Get (url  string ) * Pipe  {
591+ 	req , err  :=  http .NewRequest (http .MethodGet , url , p .Reader )
592592	if  err  !=  nil  {
593593		return  p .WithError (err )
594594	}
@@ -693,11 +693,11 @@ func (p *Pipe) MatchRegexp(re *regexp.Regexp) *Pipe {
693693	})
694694}
695695
696- // Post makes an HTTP POST request to URL , using the contents of the pipe as 
696+ // Post makes an HTTP POST request to url , using the contents of the pipe as 
697697// the request body, and produces the server's response. See [Pipe.Do] for how 
698698// the HTTP response status is interpreted. 
699- func  (p  * Pipe ) Post (URL  string ) * Pipe  {
700- 	req , err  :=  http .NewRequest (http .MethodPost , URL , p .Reader )
699+ func  (p  * Pipe ) Post (url  string ) * Pipe  {
700+ 	req , err  :=  http .NewRequest (http .MethodPost , url , p .Reader )
701701	if  err  !=  nil  {
702702		return  p .WithError (err )
703703	}
@@ -905,7 +905,7 @@ func (p *Pipe) writeOrAppendFile(path string, mode int) (int64, error) {
905905	if  p .Error () !=  nil  {
906906		return  0 , p .Error ()
907907	}
908- 	out , err  :=  os .OpenFile (path , mode , 0666 )
908+ 	out , err  :=  os .OpenFile (path , mode , 0o666 )
909909	if  err  !=  nil  {
910910		p .SetError (err )
911911		return  0 , err 
0 commit comments