- criar partições
- montar partições
- instalar sistema
- configurar hora
- configurar rede
- configurar localização
- configurar usuario e sudo
- configurar grub
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "github.com/google/btree" | |
| ) | |
| type Item struct { | |
| Value int |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "reflect" | |
| "slices" | |
| "strings" | |
| ) | |
| type Obj[K any, V comparable] struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func (wr WorkspaceRepository) CreateWorkspace(workspace *models.Workspace) error { | |
| result := wr.db.Table("workspaces").Create(workspace). | |
| Where("foo"). | |
| Where("foo2") | |
| if result.Error != nil { | |
| return errors.Wrap(repository_utils.HandleDatabaseError(result), StrWorkspaceRepositoryCreateWorkspaceErr) | |
| } | |
| return nil | |
| } |