feat: add mtran ROS2 translation service

This commit is contained in:
2026-07-30 19:34:49 +08:00
parent 0c09a97e7f
commit 8de4e20046
400 changed files with 137442 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package data
import "crypto/sha256"
//go:generate go run gen_update.go
//go:generate go run gen_hash.go
func GetRecordsInfo() (hash string, size int) {
return RecordsHash, len(RecordsJson)
}
func ComputeHash(data []byte) [32]byte {
return sha256.Sum256(data)
}