Bazel go library

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

This builds a Go library from a set of source files that are all part of the same package.

Attributes

name

Required, a unique name for this target.

srcs

Optional.

deps

Optional. List of Go libraries this package imports directly. These may be go_library rules or compatible rules with the GoLibrary provider.