printer.go 422 B

1234567891011121314151617
  1. // Copyright 2017 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build ignore
  5. // +build ignore
  6. package main
  7. import (
  8. "golang.org/x/text/language"
  9. "golang.org/x/text/message"
  10. )
  11. // The printer defined here will be picked up by the first print statement
  12. // in main.go.
  13. var printer = message.NewPrinter(language.English)