mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-14 10:17:14 +02:00
Exposes what I consider a good public API from the `internal/formatter` package. Having a go-native formatter is an awesome thing, especially because it allows shipping the formatter as part of other projects. It's also fair to keep the formatter's code in `internal`, yet third party projects should have a way to use relevant parts of it.
10 lines
287 B
Python
10 lines
287 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["formatter.go"],
|
|
importpath = "github.com/google/go-jsonnet/formatter",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//internal/formatter:go_default_library"],
|
|
)
|