2023-05-04 23:08:18 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
2023-05-04 21:00:30 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "seekbuf",
|
|
|
|
srcs = ["seekbuf.go"],
|
|
|
|
importpath = "git.wntrmute.dev/kyle/goutils/seekbuf",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
2023-05-04 23:08:18 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "seekbuf_test",
|
2023-05-05 00:10:41 +00:00
|
|
|
size = "small",
|
2023-05-04 23:08:18 +00:00
|
|
|
srcs = ["seekbuf_test.go"],
|
|
|
|
embed = [":seekbuf"],
|
|
|
|
deps = ["//assert"],
|
|
|
|
)
|