Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
180 changes: 180 additions & 0 deletions .github/wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
API
APIs
BSON
CI
CIDR
CLI
CLIs
CSV
DCO
DockerHub
FAQ
GC
GOPATH
GOROOT
GoDoc
Godoc
HTTP
HTTPS
HUGO
ID
IDs
IP
IPs
ISBN
JSON
Kubernetes
Markdown
NaN
OAI
OAuth
OpenAPI
PR
PRs
README
SSN
TCP
TLS
TODO
UI
ULID
URI
URL
URLs
USD
UUID
YAML
api
apis
arg
args
assignees
auth
authenticated
authenticator
authenticators
authorized
authorizer
authorizers
backquote
backquoted
bash
benchmarking
bitmask
bson
bytesize
cancelled
ci
cidr
cli
clis
codecov
codegen
config
configs
csv
customizable
dependabot
deserialize
deserialized
deserializer
docker
e.g.
env
err's
faq
flattener
fuzzying
gc
github
go-openapi
godoc
golang
golangci
golint
goroutine
goroutines
hostname
hostnames
html
http
https
hugo
i.e.
id
implementor
implementors
initialism
initialisms
io
ipsum
ipsums
ipv4
ipv6
isbn
json
jsonschema
k8s
kubernetes
linter
linters
listA
listB
loren
lowercases
markdown
marshaled
marshaling
middleware
middlewares
mixin
multipart
mutex
oai
oauth
oauth2
openapi
param
params
rebase
rebased
redeclare
repo
repos
roundtrip
roundtripper
schema
schemas
serialize
serialized
serializer
sexualized
ssn
struct
structs
submodule
subpackage
substring
swagger
tls
toolchain
ui
ulid
unmarshal
unmarshaled
unmarshaling
untyped
uri
url
urls
utf-8
uuid
v1
v2
v3
validator
validators
waitFor
workspace
workspaces
yaml
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ vendor
Godeps
.idea
*.out
.mcp.json
.claude/**.md
!.claude/CLAUDE.md
14 changes: 7 additions & 7 deletions assert/assert_assertions.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions codegen/internal/generator/funcmaps/markdown.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,9 @@ func addExamples(trailer []string, funcName string, perPkgExamples []packageExam
trailer = append(trailer, `{{% cards %}}`)

for _, example := range pe.examples {
trailer = append(trailer, `{{% card href="https://go.dev/play/" %}}`)
trailer = append(trailer, `{{% card %}}`)
trailer = append(trailer, "\n")
trailer = append(trailer, `*Copy and click to open Go Playground*`)
trailer = append(trailer, `*[Copy and click to open Go Playground](https://go.dev/play/)*`)
trailer = append(trailer, "\n")
trailer = append(trailer, "```go")
trailer = append(trailer, fmt.Sprintf("// real-world test would inject *testing.T from Test%s(t *testing.T)", funcName))
Expand Down
32 changes: 16 additions & 16 deletions docs/doc-site/api/boolean.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ False asserts that the specified value is false.
{{< /tab >}}
{{% tab title="Testable Examples (assert)" %}}
{{% cards %}}
{{% card href="https://go.dev/play/" %}}
{{% card %}}


*Copy and click to open Go Playground*
*[Copy and click to open Go Playground](https://go.dev/play/)*


```go
Expand Down Expand Up @@ -82,10 +82,10 @@ func main() {

{{% tab title="Testable Examples (require)" %}}
{{% cards %}}
{{% card href="https://go.dev/play/" %}}
{{% card %}}


*Copy and click to open Go Playground*
*[Copy and click to open Go Playground](https://go.dev/play/)*


```go
Expand Down Expand Up @@ -163,10 +163,10 @@ The type constraint [Boolean](https://pkg.go.dev/github.com/go-openapi/testify/v
{{< /tab >}}
{{% tab title="Testable Examples (assert)" %}}
{{% cards %}}
{{% card href="https://go.dev/play/" %}}
{{% card %}}


*Copy and click to open Go Playground*
*[Copy and click to open Go Playground](https://go.dev/play/)*


```go
Expand Down Expand Up @@ -197,10 +197,10 @@ func main() {

{{% tab title="Testable Examples (require)" %}}
{{% cards %}}
{{% card href="https://go.dev/play/" %}}
{{% card %}}


*Copy and click to open Go Playground*
*[Copy and click to open Go Playground](https://go.dev/play/)*


```go
Expand Down Expand Up @@ -270,10 +270,10 @@ True asserts that the specified value is true.
{{< /tab >}}
{{% tab title="Testable Examples (assert)" %}}
{{% cards %}}
{{% card href="https://go.dev/play/" %}}
{{% card %}}


*Copy and click to open Go Playground*
*[Copy and click to open Go Playground](https://go.dev/play/)*


```go
Expand Down Expand Up @@ -304,10 +304,10 @@ func main() {

{{% tab title="Testable Examples (require)" %}}
{{% cards %}}
{{% card href="https://go.dev/play/" %}}
{{% card %}}


*Copy and click to open Go Playground*
*[Copy and click to open Go Playground](https://go.dev/play/)*


```go
Expand Down Expand Up @@ -385,10 +385,10 @@ The type constraint [Boolean](https://pkg.go.dev/github.com/go-openapi/testify/v
{{< /tab >}}
{{% tab title="Testable Examples (assert)" %}}
{{% cards %}}
{{% card href="https://go.dev/play/" %}}
{{% card %}}


*Copy and click to open Go Playground*
*[Copy and click to open Go Playground](https://go.dev/play/)*


```go
Expand Down Expand Up @@ -419,10 +419,10 @@ func main() {

{{% tab title="Testable Examples (require)" %}}
{{% cards %}}
{{% card href="https://go.dev/play/" %}}
{{% card %}}


*Copy and click to open Go Playground*
*[Copy and click to open Go Playground](https://go.dev/play/)*


```go
Expand Down
Loading
Loading