Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Attempt to slim imports #5

@johanbrandhorst

Description

@johanbrandhorst

The gopherjs tips and tricks advices against importing fmt or importing libraries that import fmt (such as encoding/json). The fmt library on its own is responsible for something like 400kb larger output js files. I would suggest moving awat from fmt in formatting and move to using https://github.com/cathalgarvey/fmtless/encoding/json for JSON marshalling.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions