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

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

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

    搜了下没搜到....

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

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

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

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