init go module

This commit is contained in:
juancwu 2026-04-29 00:35:22 +00:00
commit bc414634b8
3 changed files with 20 additions and 0 deletions

8
doc.go Normal file
View file

@ -0,0 +1,8 @@
// Package ficha issues, validates, and revokes opaque encrypted tokens
// carrying consumer-defined permissions. Tokens are sealed with
// XChaCha20-Poly1305 authenticated encryption.
//
// Persistence (revocation storage, key storage) is intentionally not
// part of this package. Consumers provide their own implementations
// of the small interfaces defined here.
package ficha

8
go.mod Normal file
View file

@ -0,0 +1,8 @@
module git.juancwu.dev/juancwu/ficha
go 1.26.2
require (
golang.org/x/crypto v0.50.0 // indirect
golang.org/x/sys v0.43.0 // indirect
)

4
go.sum Normal file
View file

@ -0,0 +1,4 @@
golang.org/x/crypto v0.50.0 h1:zO47/JPrL6vsNkINmLoo/PH1gcxpls50DNogFvB5ZGI=
golang.org/x/crypto v0.50.0/go.mod h1:3muZ7vA7PBCE6xgPX7nkzzjiUq87kRItoJQM1Yo8S+Q=
golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=