validate

Last updated: 2024-09-27 10:47:34.186483 File source: link on GitLab

validate

Table of Contents

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

Last updated