Writing Bazel rules: library rule, depsets, providersIn the last article, we built a go_binary rule that compiled and linked a Go executable from a list of sources. This time, we’ll define a go_library rule that can compile a Go package that can be depended on by other libraries and binaries.