The Go Programming Language
› http://golang.org/
› Go Playground
Go Projects
› Revel Web Framework
zoharSoul

golang 有类似于 Java 的 Apache Commons, guava 之类的工具包吗?

  •  
  •   zoharSoul · Dec 21, 2020 · 5421 views
    This topic created in 2144 days ago, the information mentioned may be changed or developed.

    搜了下没搜到....

    12 replies  •  2023-06-07 19:20:47 +08:00
    mritd
    mritd
    Dec 21, 2020 via iPhone
    1
    我一开始也在找,后来发现标准库里有😂
    BBCCBB
    BBCCBB
    Dec 21, 2020
    2
    我记得 dropbox 就开源了一个.
    waising
    waising
    Dec 21, 2020
    3
    @BBCCBB #2 dropbox 不是转 rust 了吗 我看 godropbox 也不更新了
    zoharSoul
    zoharSoul
    OP
    Dec 21, 2020
    4
    @BBCCBB 我找找看
    hantsy
    hantsy
    Dec 21, 2020
    5
    Apache Commons, guava...

    我是尽量避免用 Apache Commons 。
    zoharSoul
    zoharSoul
    OP
    Dec 21, 2020
    6
    @hantsy 为啥呢?
    hantsy
    hantsy
    Dec 21, 2020
    7
    用不上了。

    一些基础的,如果在用 Spring 的话,Spring 下的 org.springframework.util 包中工具类更简洁。

    如果需要 Guava 中的 Immutable Collection, 真接上 Java 11 以上。
    holulu
    holulu
    Dec 21, 2020
    8
    标准库和补充库都有了,还有什么具体没有的可以提出来?
    zoharSoul
    zoharSoul
    OP
    Dec 21, 2020
    9
    @holulu 补充库是指哪个啊?
    holulu
    holulu
    Dec 22, 2020
    10
    husher123
    husher123
    Dec 27, 2020
    11
    很习惯用 java 的 hutool, 到 go 的感觉就是很多小工具要自己写, 很麻烦, 不知道有没有类似的工具包
    lanliddd
    lanliddd
    Jun 7, 2023
    12
    可以试试 lancet: https://github.com/duke-git/lancet ,一个全面、高效、可复用的 go 语言工具函数库。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4853 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 62ms · UTC 06:53 · PVG 14:53 · LAX 22:53 · JFK 01:53
    ♥ Do have faith in what you're doing.