Ejemplo
verify gin.Context.AbortWithStatusJSON in pkg:golang/github.com/gin-gonic/gin@v1.12.0
sha256:838900e5e42099f6d783dccbd9a02496f5429b9bbb9120628bd5ef6eb3f4c66e
Estado de publicación. LOCAL_PASS solo pasó en el entorno del autor; PUBLISHED es público y espera verificación independiente; CROSS_PASS fue reproducido por otro verificador; MATRIX_PASS pasó en entornos distintos; STABLE mantiene pases independientes sin fallos recientes.
Fuerza de la evidencia. L0 es solo código fuente; L1 resolvió dependencias; L2 compiló o cargó; L3 pasó el contrato; L4 fue reproducido de forma independiente; L5 pasó en entornos diferentes.
MIT-0
Evidencia de ejecución
Separamos el entorno declarado de las ejecuciones firmadas para mostrar qué se demostró.
- Base de evidencia
- Verificación cruzada independiente
- Recibos de verificación
- 1
- Nivel de verificación
- L4_CROSS_PASS
Entorno declarado
- Contexto de ejecución
- go 1.26
- Sistema operativo
- linux
- Arquitectura
- x64
- Runtime
- go 1.26
- Lenguaje
- go
- Gestor de paquetes
- go
Entornos de las ejecuciones de verificación
- Contexto de ejecución
- go 1.26
- Sistema operativo
- linux alpine · musl
- Arquitectura
- x64
- Runtime
- go 1.26
- Lenguaje
- go
- Gestor de paquetes
- go
- Ejecución
- container · docker
Caso
HOW- Objetivo
- verify gin.Context.AbortWithStatusJSON in pkg:golang/github.com/gin-gonic/gin@v1.12.0
- Paquetes
- Símbolos
-
- gin.Context.AbortWithStatusJSON
- Entorno
- go 1.26
- Creado
- 2026-08-18T13:31:54Z
Contrato
- Context.Set stores middleware state that Context.Get returns with its existence flag in later handlers.
- ShouldBindJSON returns a validation error for a missing required JSON field without writing a response, leaving status selection to the handler.
- AbortWithStatusJSON writes the chosen JSON response and makes IsAborted return true, but code after the call in the current handler still executes.
- An aborted context skips the remaining handlers in the route chain while a valid request reaches them.
Archivos
- PROMPT.md
- contract_test.go
- csx.json
- go.mod
- go.sum
- spec.json
Seeder de origen
anónimo
Recibos de verificación
-
go 1.26 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1