[Solve] cannot find package “golang.org/x/net/html”

It means x/net/html package is missing from the Go’s import path. I am going to paraphrase from “The Go Programming” book that says, The golang.org/x/… repositories hold packages designed and maintained by Go team for applications such as networking, internationalized text processing, mobile platforms, image manipulation, cryptography, and developer tools. These packages are not in the standard library because they’re still under development or because they’re rarely needed by the majority of Go Programmers.

Integrating font awesome with Laravel (5.X) using webpack

Laravel uses laravel-mix by default which uses webpack under the hood for frontend-tooling. We have following steps Install font-awesome using npm (I assume you already have npm configured) I am using https://www.npmjs.com/package/@fortawesome/fontawesome-free-webfonts use command from the project root directory. npm i @fortawesome/fontawesome-free-webfonts Import font-awesome scss in app.scss (your main sass file) Open your app.scss and copy … Continue reading “Integrating font awesome with Laravel (5.X) using webpack”

[HowTo] Change User Model Namespace in Laravel

By default Laravel’s “User” model is place on “App” namespace. To move it to App\Models namespace we have to do the following: Move User.php to App\Models folder Update this path in config/app.php Search for “providers” key and update the path in “model” before : App\User::class, after: App\Models\User::class Generate new class path by using composer dump-autoload … Continue reading “[HowTo] Change User Model Namespace in Laravel”

Lost my previous posts from 2017

WHY THIS POST ? I used to post articles on various topics here and there. Back ago 6-7 months, I forgot to topup my account and kept ignoring the email from my hosting provider that ultimately led to my account being suspended then deleted from the server 🙁 I was occupied with regular tasks and … Continue reading “Lost my previous posts from 2017”