Generated plugins (acceptance.json at the root) fail on: HTTP routes not registered through pluginsdk route or a public route reading personal columns; HTML built from unescaped non-constant strings; public POSTs outside route.Form; personal data names in log calls; outbound requests carrying personal data or values the spec does not send to that host. First-party plugins get the same findings as warnings. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
23 lines
595 B
Go
23 lines
595 B
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// source: forecast_signups.sql
|
|
package db
|
|
|
|
import "context"
|
|
|
|
const latestForecastSignup = `-- name: LatestForecastSignup :one
|
|
SELECT id, email, address FROM forecast_signups ORDER BY created_at DESC LIMIT 1
|
|
`
|
|
|
|
type ForecastSignup struct {
|
|
ID string `json:"id"`
|
|
Email string `json:"email"`
|
|
Address string `json:"address"`
|
|
}
|
|
|
|
func (q *Queries) LatestForecastSignup(ctx context.Context) (ForecastSignup, error) {
|
|
row := q.db.QueryRow(ctx, latestForecastSignup)
|
|
var i ForecastSignup
|
|
err := row.Scan(&i.ID, &i.Email, &i.Address)
|
|
return i, err
|
|
}
|