mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Revert c7f4b46df55feb4e9afdec1e19b20030b1cee4bf...d21cfeb3597281b224200e239a18f30c60672595 on CodeReviewComments
parent
d21cfeb359
commit
1c65e7b336
@ -457,7 +457,7 @@ is less clear than:
|
|||||||
```go
|
```go
|
||||||
// Location returns f's latitude and longitude.
|
// Location returns f's latitude and longitude.
|
||||||
// Negative values mean south and west, respectively.
|
// Negative values mean south and west, respectively.
|
||||||
func (f *Foo) Location() (lat float64, long float64, err error)
|
func (f *Foo) Location() (lat, long float64, err error)
|
||||||
```
|
```
|
||||||
|
|
||||||
Naked returns are okay if the function is a handful of lines. Once it's a medium
|
Naked returns are okay if the function is a handful of lines. Once it's a medium
|
||||||
|
Loading…
x
Reference in New Issue
Block a user