
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
github.com/exaring/ulid-protobuf
Encode ulids as protobuf directly.
import the proto file in your proto code
mymessage.proto
:
syntax = "proto3";
package mypackage;
import "ulid.proto";
option go_package = "example.org/mypackage";
message MyMessage {
ulid.ULID id = 1;
}
add this library to your code:
$ go get github.com/exaring/ulid-protobuf@latest
Then compile your proto files with protoc
, e.g.:
$ protoc --proto_path=$(go list -m -f '{{.Dir}}' github.com/exaring/ulid-protobuf) \
--go_out=paths=source_relative:. \
--proto_path=. ./mymessage.proto
Note the trick with --proto_path
: it allows protoc
to find the ulid.proto
file inside the go module's source.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.