https://github.com/davipythonweb/go_bank_account__
Estudando a Linguagem Go, avançando!
https://github.com/davipythonweb/go_bank_account__
Last synced: 3 months ago
JSON representation
Estudando a Linguagem Go, avançando!
- Host: GitHub
- URL: https://github.com/davipythonweb/go_bank_account__
- Owner: davipythonweb
- License: mit
- Created: 2024-08-10T01:55:20.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-21T04:47:59.000Z (over 1 year ago)
- Last Synced: 2025-01-19T14:17:10.663Z (about 1 year ago)
- Language: Go
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# go_bank_account__
### Estudando a Linguagem Go, avançando!
- usando packages para separar projeto
- aplicação de banco com duas contas:corrente e poupança
- funçoes:depositar,sacar,obter-saldo,pagar-boleto
- conceitos usados:
`struct, funçoes,variaveis,
condicionais,interface, ponteiro(*),referenciando lugar do ponteiro(&)`
- compilando e rodarando
`go run main.go`
- compilando e rodar todos os arquivos na pasta de uma vez
`go run *.go`
- para resolver o erro dos pacotes, rodar o comando no terminal
`go mod init`