bab29a83fa
Sweep all .go imports + go.mod, plus module-path refs in .golangci.yml, Dockerfile, swagger templates, locale example, and repo/wiki URLs (MokoGitea-Fork -> MokoGIT). Part of the MokoGIT rebrand. Claude-Session: https://claude.ai/code/session_01Bqe7fAuHQeiLueYfeHFrHw
18 lines
605 B
Go
18 lines
605 B
Go
// Copyright 2026 The Gitea Authors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package pkgspec
|
|
|
|
import (
|
|
packages_model "code.mokoconsulting.tech/MokoConsulting/MokoGIT/models/packages"
|
|
packages_service "code.mokoconsulting.tech/MokoConsulting/MokoGIT/services/packages"
|
|
"code.mokoconsulting.tech/MokoConsulting/MokoGIT/services/packages/terraform"
|
|
)
|
|
|
|
func InitManager() error {
|
|
mgr := packages_service.GetSpecManager()
|
|
mgr.Add(packages_model.TypeTerraformState, &terraform.Specialization{})
|
|
// TODO: add more in the future, refactor the existing code to use this approach
|
|
return nil
|
|
}
|