f74ef4adb9
Accepting request 1204253 from devel:languages:go
Ana Guerrero2024-09-29 16:10:42 +00:00
9a18abef5e
- Packaging improvements: * Re-enable binary stripping and debuginfo boo#1210938 * Use BuildRequires: golang(API) >= 1.22 rather than pin go1.22. The golang(API) expression allows use of newer go versions and integrates with the go metapackage via OBS prjconf Prefer: * Drop autosetup -p 1 arg only needed when package has patches * Build PIE with pattern that may become recommended procedure: %%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build A go toolchain buildmode default config would be preferable but none exist at this time. * Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable * Drop go build -o arg, default binary name is package of main()
Jeff Kowalczyk2024-09-27 21:04:19 +00:00
b478d30e82
Accepting request 1204158 from devel:languages:go
Ana Guerrero2024-09-27 15:11:56 +00:00
ad2e354ce1
new package swag: Automatically generate RESTful API documentation with Swagger 2.0 for Go
Jeff Kowalczyk2024-09-27 11:08:24 +00:00