| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. |
| 4 |
| 5 // Package format implements a default FormatterRegistry configuration and |
| 6 // FormatterRegistry Context embedding. |
| 7 package format |
| 8 |
| 9 import ( |
| 10 "github.com/luci/luci-go/luci_config/server/cfgclient" |
| 11 "github.com/luci/luci-go/luci_config/server/cfgclient/textproto" |
| 12 ) |
| 13 |
| 14 // Default returns a new default FormatterRegistry configuration. |
| 15 func Default() *cfgclient.FormatterRegistry { |
| 16 var fr cfgclient.FormatterRegistry |
| 17 textproto.RegisterFormatter(&fr) |
| 18 return &fr |
| 19 } |
| OLD | NEW |