SseptRabbitinseptrabbit.hashnode.dev·Oct 1, 2022 · 1 min readJest encountered an unexpected token?When I tried to use Jest to test my react component, an error occurred. Then I googled and looked for answer in stackoverflow. Took me hours of searching and finally I solved it. Below is how I solved it. Install "@babel/plugin-transform-modules-co...00
SseptRabbitinseptrabbit.hashnode.dev·Sep 10, 2022 · 1 min readWhat should I do if I want to capitalize filename on GitHub?The default setting for Github is case insensitive. Therefore, even if we change the filename locally and push, it will not change anything. If we accidentally push small letter filename on Github and want to change it, what should we do? First. Dis...00
SseptRabbitinseptrabbit.hashnode.dev·Jul 15, 2022 · 1 min readLearning Go 2 - Package and Receiver Function2 Package types: Executable and Reusable. Executable package main must have a function called "main". Reusable packages are like helper packages or libraries. We can call the function in other go file of the same package main. Let's say we have "main...00
SseptRabbitinseptrabbit.hashnode.dev·Jul 9, 2022 · 2 min readLearning Go 1 - Variables DeclarationNow I finished installing Go, so time to get started! Declare Variable Unlike Javascript, Go is a strong type language. (Like TS) If you are from JS like me, please make sure you have basic knowledge about the type. To declare a variable, always star...00
SseptRabbitinseptrabbit.hashnode.dev·Jul 7, 2022 · 1 min readHow to install Go on Mac?I decided to spend time on learning Go despite that my React is still not good. But, just to stay away from React for a while. Installing Go is not as easy as I think. So, I think it'd better that I write it down. Following Go install documentation F...00