import_packages

command
v0.0.0-...-c294b08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Código de exemplo do capítulo 2.3 de "Build Web Application with Golang" Propósito: mostra diferentes formas de importar um pacote. Nota: para o pacote `only_call_init`, fazemos referência ao caminho a partir do diretório base de `$GOPATH/src`. Golang desencoraja o uso de caminhos relativos para importar pacotes. BAD: "./only_call_init" GOOD: "apps/ch.2.3/import_packages/only_call_init"

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL