gbt6565

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 gbt6565 GB/T 6565-2015 职业分类代码

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

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

All 遍历所有职业

level 表示分类re级别,0 表示所有,1 表示大类,2 表示中类

func Get

func Get(code string) string

Get 根据 code 返回对应的职业名称

func IsValid

func IsValid(code string) bool

IsValid 判断 code 是否是一个有效的职业代码

func Parent

func Parent(code string) string

Parent 返回 code 的父级职业代码

code 必须为一个有效的职业代码

Types

This section is empty.

Jump to

Keyboard shortcuts

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