gbt42390

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package gbt42390 GB/T 42390-2023 快递包装分类与代码

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

func All(level int) iter.Seq2[string, string]

All 遍历所有代码

level 返回的级别,可以有以下几个值:

  • 0 表示所有;
  • 1 表示一级分类;
  • 2 表示二级分类;

func Get

func Get(code string) string

Get 获取指定代码表示的家庭关系

func IsValid

func IsValid(code string) bool

IsValid 验证数据的正确性

func Parent

func Parent(code string) string

Parent 返回 code 的父级分类

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL