moznion's tech blog

moznion's technical memo

Released go-json-ice: a code generator of JSON marshaler for tinygo

In tinygo, if the go code imports encoding/json package, it fails to compile. AFAIK, this is a known issue *1, so it seemed there is no standard way to marshal any struct to JSON string. There are some related issues like the following: gi…

Released sbt-spotless: an sbt plugin for Spotless

github.com I've released sbt-spotless, this is an sbt plugin for Spotless. Spotless is currently supporting plugins for maven and gradle, but it seems there had been no sbt's one, so I made this. This plugin works on sbt 1.3.x and legacy s…

Published proxy-protocol-js

(Japanese article is here: https://moznion.hatenadiary.com/entry/2019/04/30/131509 )I had published a library that is named proxy-protocol-js.github.comwww.npmjs.comThis library recognizes the PROXY protocol and has responsibilities for bu…

gowrtr - a library that supports golang code generation

(Japanese article is here: https://moznion.hatenadiary.com/entry/2019/01/14/111719) I published a library that supports golang code generation, this named gowrtr (pronunciation: go writer). This library has a number of generators for golan…

aws-lambda-perl5-layer is now available

I've released aws-lambda-perl5-layer: this is an AWS Lambda runtime layer for Perl5. github.com This project makes you to be able to execute Perl5 on AWS Lambda. This project uses AWS Lambda Runtime API that was announced re:Invent 2018. F…

Docuss - A library to test with describing document for controller layer

I released a library "Docuss" for Java (this library requires Java 8 or later). It is available in maven central. maven central This library works as below: This library provides an inspection method to test the HTTP response. This library…

sprint - Fluent, small and fast string formatter for Java

I published "sprint" version 0.0.2. And it is also available on maven central. http://search.maven.org/#artifactdetails%7Cnet.moznion%7Csprint%7C0.0.2%7Cjar Sprint is a string formatter library for Java. Simple usage is below. final Sprint…

resque_exporter is out

This is an exporter of Prometheus for resque's queue status *1. It aggregates and provides number of remained jobs for each queues. Aggregation mechanism is simple. This exporter accesses to redis to aggregate queue status. Collect name of…