mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
5adbaa2e23
* Add example encoding for godoc ssz * A bit more comments * Add comment about fatal error
31 lines
702 B
Python
31 lines
702 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"decode.go",
|
|
"doc.go",
|
|
"encode.go",
|
|
"hash.go",
|
|
"ssz_utils_cache.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/ssz",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//shared/bytesutil:go_default_library",
|
|
"//shared/hashutil:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"decode_test.go",
|
|
"encode_test.go",
|
|
"example_and_test.go",
|
|
"example_encode_test.go",
|
|
"hash_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
)
|