Copied code from Go template & Initial tests structure