Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
encoding
Go package containing implementations of efficient encoding, decoding, and validation APIs.
In this second article (or chapter), we will get even closer to the inner workings of the Fiber web framework, its routing technique, built-in components and methods.
The Fiber team supports template package that provides wrappers for multiple template engines:
Note: This works differently than the compression middleware, which is supported by the Fiber team.
Converts any interface or string to JSON using the segmentio/encoding package. Also, the JSON method sets the content header to application/json.