gitlab.com/stone.code/assert
Package assert provide a single function to emulate C-style asserts. The goal of this package is to provide a call that will document and enforce preconditions, postconditions, and invariants in code. Failures should only result from program bugs. This package should not be used to replace proper error handling. Each assertion documents that a predicate is true when the the assertion is executed. Depending on the build, that predicate might also be enforced (i.e. by terminating the program, or, more gently, by panicking). There are three types of assertion: (1) preconditions, which document conditions (specified as predicates) for calling a function, (2) postconditions, which document conditions at the end of a function, and (3) invariant, which specify conditions over a particular scope or for a type. If the predicate for an assertion is false, this conditions indicates a bug in the code (as opposed to a transient or run-time error). When enforced, assertions are a debugging tool.
proxy.golang.org
v1.1.4
over 3 years ago
22
2
2
bitbucket.org/rj/goey v0.9.0
Package goey provides a declarative, cross-platform GUI. The range of controls, their supported p...2 versions - Latest release: over 4 years ago - 1 dependent repositories
gitlab.com/stone.code/goey v0.9.0
Package goey provides a declarative, cross-platform GUI for the Go language. Mirror of bitbucket...2 versions - Latest release: over 4 years ago - 0 stars on GitLab.com
Past Dependents
Check this option to include packages that no longer depend on this package in their latest version but previously did.
Links
| Registry | proxy.golang.org |
| Source | Repository |
| Docs | Documentation |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:golang/gitlab.com/stone.code/assert
spec |
| License | BSD-3-Clause |
| Namespace | gitlab.com/stone.code |
| First Release | about 4 years ago |
| Last Synced | 25 days ago |
Repository
| Stars | 1 on gitlab.com |
| Forks | 0 on gitlab.com |