I like the Go approach more where they suggest against importing dependencies for simple functionality that can be copypasted or written better.