electron-egg electron-egg
首页
  • v4.x
  • v3.x
  • v2.x
插件
  • v4.x
  • v3.x
demo
支持
知识点
案例
交流
  • GitHub (opens new window)
  • Gitee (opens new window)
首页
  • v4.x
  • v3.x
  • v2.x
插件
  • v4.x
  • v3.x
demo
支持
知识点
案例
交流
  • GitHub (opens new window)
  • Gitee (opens new window)
❤️成为赞助商
  • 教程

  • ee-bin

  • ee-core

  • ee-go

    • eapp
    • eboot
    • econfig
    • eerror
    • ehelper
    • ehttp
    • erouter
    • elog
    • eos
      • eruntime
      • estatic
      • eutil
      • etask
    目录

    eos

    ee-go:v1.0.0

    # 介绍

    os模块

    # 使用方法

    import (
    	"github.com/wallace5303/ee-go/eos"
    )
    

    # API列表

    仅做简单介绍。按照go标准,常量/函数/方法等说明信息,都在源码中。

    # func IsWindows() bool

    是否为windows平台

    # func IsLinux() bool

    是否为Linux平台

    # func IsMacOS() bool

    是否为macOS平台

    # func IsDarwin() bool

    是否为macOS平台

    # func OSPlatform() (plat string)

    获取当前平台字符串

    # func GetUserHomeDir() (string, error)

    获取用户目录路径

    上次更新: 2025/06/06, 07:21:49
    elog
    eruntime

    ← elog eruntime→

    Theme by Vdoing | Copyright © 2023-2025 哆啦好梦 | 京ICP备15041380号-2
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式
    ×