Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
internal
|
|
pkg
|
|
api/provisioning/virtualmachine
Package statik contains static assets.
|
Package statik contains static assets. |
datastore
Example func SomeEndpoint(ctx context.COntext, req SomeRequest) error { // validation datastore.Lock(req.Key) defer datastore.Unlock(req.Key) tx := transaction.Begin() defer tx.Rollback() // API Process tx.Done() return nil }
|
Example func SomeEndpoint(ctx context.COntext, req SomeRequest) error { // validation datastore.Lock(req.Key) defer datastore.Unlock(req.Key) tx := transaction.Begin() defer tx.Rollback() // API Process tx.Done() return nil } |
Click to show internal directories.
Click to hide internal directories.