golang code for nfjs