Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mohuishou/go-design-pattern
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: mohuishou/go-design-pattern
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
  • 10 commits
  • 13 files changed
  • 4 contributors

Commits on May 20, 2021

  1. feat: up readme

    mohuishou committed May 20, 2021
    Copy the full SHA
    8a935cf View commit details

Commits on Jun 4, 2021

  1. fix: typo

    mohuishou committed Jun 4, 2021
    Copy the full SHA
    9a1326a View commit details

Commits on Nov 17, 2022

  1. fix(facade): IUserFacade interface, add return value (#4)

    1. fix IUserFacade interface, add return value
    2. change login/register reciver from UserService to User,
        because the login logic belongs to user, not facade. the facede struct (class) only forwarding request.
    3. add create object func
    4. modify test file
    clamyang authored Nov 17, 2022
    Copy the full SHA
    7dfd6f7 View commit details
  2. fix(di): check error #3

    mohuishou authored Nov 17, 2022
    Copy the full SHA
    4df569c View commit details

Commits on Apr 5, 2023

  1. singleton: double-check inside the lock #7

    Double-check inside the lock, otherwise, there may be duplicate creations.
    wandh authored Apr 5, 2023
    Copy the full SHA
    951a5dd View commit details

Commits on Apr 14, 2023

  1. fix: uint test err

    mohuishou committed Apr 14, 2023
    Copy the full SHA
    4ef37da View commit details

Commits on May 5, 2023

  1. fix: 单例模式

    - fix: 修复单测问题 #12
    - fix: #10 移除不必要的判断,  revert #7
    mohuishou committed May 5, 2023
    Copy the full SHA
    05067cb View commit details

Commits on Jan 30, 2024

  1. feat: builder 使用常用用法

    close #13
    mohuishou committed Jan 30, 2024
    Copy the full SHA
    78c39f3 View commit details
  2. feat(factory): update abstract factory (#9)

    * add more for abstract factory
    
    * update
    shanghai-Jerry authored Jan 30, 2024
    Copy the full SHA
    c42a47d View commit details
  3. feat(singleton_lazy): 移除不必要代码

    close #14
    mohuishou committed Jan 30, 2024
    Copy the full SHA
    2dd6023 View commit details
Loading