vendor: update all dependencies to latest versions
This commit is contained in:
+1
-9
@@ -2,15 +2,6 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Package message implements formatted I/O for localized strings with functions
|
||||
// analogous to the fmt's print functions.
|
||||
//
|
||||
// These are the important differences with fmt:
|
||||
// - Output varies per locale.
|
||||
// - The '#' flag is used to bypass localization.
|
||||
//
|
||||
// NOTE: Under construction. See https://golang.org/design/12750-localization
|
||||
// and its corresponding proposal issue https://golang.org/issues/12750.
|
||||
package message // import "golang.org/x/text/message"
|
||||
|
||||
import (
|
||||
@@ -150,6 +141,7 @@ func lookupAndFormat(p *Printer, r Reference, a []interface{}) {
|
||||
|
||||
// Arg implements catmsg.Renderer.
|
||||
func (p *printer) Arg(i int) interface{} { // TODO, also return "ok" bool
|
||||
i--
|
||||
if uint(i) < uint(len(p.args)) {
|
||||
return p.args[i]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user