Inspectopedia 2026.1 Help

Syntax updates

Pointer creation with 'new()'  

Syntax update: pointer creation with new().

Replace new-like function call with 'new()'   New in this release

Syntax update: replace new-like helper functions with new().

Type-safe error unwrapping with 'errors.AsType'  

Syntax update: type-safe error unwrapping with errors.AsType Reports usages of errors.As that can be replaced with errors.AsType, a generic function introduced in Go 1.26 that unwraps errors in a type-safe way and returns a typed result directly.

Last modified: 31 March 2026