From a1b26b920debb68ac15ba3c057b1d6e9d5880737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EC=84=B1=EB=AF=BC?= <98kimsungmin@naver.com> Date: Tue, 27 Aug 2024 17:40:39 +0900 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Lee ByeongJun --- core/entities/baseCurrency.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/entities/baseCurrency.go b/core/entities/baseCurrency.go index a75e45f..ba333a4 100644 --- a/core/entities/baseCurrency.go +++ b/core/entities/baseCurrency.go @@ -7,9 +7,9 @@ type BaseCurrency struct { chainId int decimals int - symbol *string - name *string - address *string + symbol string + name string + address string } func NewBaseCurrency(chainId int, decimals int, symbol string, name string) *BaseCurrency { @@ -23,7 +23,7 @@ func NewBaseCurrency(chainId int, decimals int, symbol string, name string) *Bas chainId: chainId, decimals: decimals, - symbol: &symbol, - name: &name, + symbol: symbol, + name: name, } }