validate
Table of Contents
- Description
- Structure and Organisation
- Class Diagram
- Functionality
- Data Types
- Testing
- Proposed Functionality/Requirements
- References
Specification
Description TBD
Utils specifically used for the validation of different types.
Structure and Organisation
Here is quick overview of the contents of this directory:
-
README: Current file which is aimed towards developers who wish to use and modify the package functionality.
-
numerics: This file contains method for conversion of numerical data to float64
type.
-
strings: This file contains method for validation check of data types.
-
specs: This folder contains the class diagram of the package.
Class Diagram
Source File
validate Class Diagram
Rendered from source file
!$rootUrlGitlab = "https://gitlab.com/nunet/device-management-service/-/raw/main"
!$packageRelativePath = "/utils/validate"
!$packageUrlGitlab = $rootUrlGitlab + $packageRelativePath
!include $packageUrlGitlab/specs/class_diagram.puml
Functionality
This package contains helper methods that perform validation check for different data types. Refer to strings.go
file for more details.
Data Types
This package does not define any new data types.
Testing
Unit tests for the functionality are defined in files with *_test.go
in their names.
Proposed Functionality / Requirements
List of issues related to the implementation of the utils
package can be found below. These include proposals for modifications to the package or new functionality needed to cover the requirements of other packages.
References