mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 16:25:21 -04:00
dev-docs: Go package docs (#958)
* Remove unused package * Add Go package docs to most packages Signed-off-by: Daniel Weiße <dw@edgeless.systems> Signed-off-by: Fabian Kammel <fk@edgeless.systems> Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> Co-authored-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
parent
b7740723ac
commit
690b50b29d
118 changed files with 735 additions and 750 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
"github.com/edgelesssys/constellation/v2/internal/constants"
|
||||
"github.com/edgelesssys/constellation/v2/internal/file"
|
||||
"github.com/edgelesssys/constellation/v2/internal/logger"
|
||||
upgradeagent "github.com/edgelesssys/constellation/v2/upgrade-agent"
|
||||
"github.com/edgelesssys/constellation/v2/upgrade-agent/internal/server"
|
||||
"github.com/spf13/afero"
|
||||
"go.uber.org/zap"
|
||||
)
|
||||
|
@ -36,7 +36,7 @@ func main() {
|
|||
}
|
||||
|
||||
handler := file.NewHandler(afero.NewOsFs())
|
||||
server, err := upgradeagent.New(log, handler)
|
||||
server, err := server.New(log, handler)
|
||||
if err != nil {
|
||||
log.With(zap.Error(err)).Fatalf("Failed to create update server")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue