# Ultimate Go: Advanced Engineering Episode 3

DevFeed: [Ultimate Go: Advanced Engineering Episode 3](<https://devfeed.tech/articles/ultimate-go-advanced-engineering-episode-3-22189.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2022/12/ultimate-go-advanced-engineering-episode-3.html>)

Published: 2022-12-14T00:00:00Z

Content type: article

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [data-engineering](<https://devfeed.tech/topics/data-engineering.md>), [trust](<https://devfeed.tech/topics/trust.md>)

Tags: [audit](<https://devfeed.tech/tags/audit.md>), [audit-trail](<https://devfeed.tech/tags/audit-trail.md>), [audits](<https://devfeed.tech/tags/audits.md>), [builds](<https://devfeed.tech/tags/builds.md>), [change](<https://devfeed.tech/tags/change.md>), [changes](<https://devfeed.tech/tags/changes.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [compute](<https://devfeed.tech/tags/compute.md>), [cryptographic](<https://devfeed.tech/tags/cryptographic.md>), [cryptographic-audit](<https://devfeed.tech/tags/cryptographic-audit.md>), [cryptographically-auditable](<https://devfeed.tech/tags/cryptographically-auditable.md>), [database](<https://devfeed.tech/tags/database.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [field](<https://devfeed.tech/tags/field.md>), [genesis](<https://devfeed.tech/tags/genesis.md>), [genesis-record](<https://devfeed.tech/tags/genesis-record.md>), [go](<https://devfeed.tech/tags/go.md>), [go-blockchain](<https://devfeed.tech/tags/go-blockchain.md>), [golang-blockchain](<https://devfeed.tech/tags/golang-blockchain.md>), [hash](<https://devfeed.tech/tags/hash.md>), [hash-algorithms](<https://devfeed.tech/tags/hash-algorithms.md>), [hashing](<https://devfeed.tech/tags/hashing.md>), [manager](<https://devfeed.tech/tags/manager.md>), [record-chaining](<https://devfeed.tech/tags/record-chaining.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [stored](<https://devfeed.tech/tags/stored.md>)

## AI overview

The dependency manager's database adds a previous-record hash field to link records into a cryptographic audit trail. Teams can recompute a prior record's hash and compare it with the stored value to detect database changes, supporting reliable audits and trust in the dependency manager. The genesis record has no previous hash.

## Source excerpt

Introduction In episode 2, Bill designed a database for his dependency manager to enable Go developers to have reproducible,durable and secure builds. This database will house the hash value for each of the dependencies stored. During runtime, these hash values are compared with the dependencies a user has locally. Bill's tool makes this comparison to make sure the user has the right version of the dependency. Each team making use of Bill's dependency manager will have access to its database, however, his database lacked any means to reliably perform audits.