Documentation ¶
Overview ¶
* Qas is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version.
* Qas is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details.
* You should have received a copy of the GNU General Public License * along with Qas. If not, see <https://www.gnu.org/licenses/>.
Index ¶
- Variables
- func All() []domain.Config
- func AllToJson() ([]byte, error)
- func Append(project domain.Projects) domain.Projects
- func CheckConfigSyntax() error
- func ConfigCheckDuplicates()
- func Delete(lang string) error
- func Files() []fs.FileInfo
- func New(payload io.ReadCloser) ([]byte, error)
- func One(lang string) ([]byte, error)
- func ParseConfig(filepath string, filename string) (domain.Config, error)
- func RemoveConfig(lang string) error
- type Structure
Constants ¶
This section is empty.
Variables ¶
var HomeFolder string = common.ProjectsFolder()
HomeFolder that all projects repositories will be stored at
Functions ¶
func CheckConfigSyntax ¶
func CheckConfigSyntax() error
func ConfigCheckDuplicates ¶
func ConfigCheckDuplicates()
TODO: Check for duplicates in configuration files
func ParseConfig ¶
Parse single configuration file, returns either properly parsed config parsed or empty struct.
TODO: check if the expect syntax is correct TODO: or err.