다음은 대화형 모드(interactive mode)에서 진법 변환(radix conversion)하는 Go 언어 소스 코드이다. 메뉴는 주메뉴 Command: (S)et radix, (A)bout, (Q)uit or E(x)it 와 부메뉴 SubCommand: 'main()' to goto Main menu, 'exit()' or 'quit()' to exit 로 구성되어 있으며, 진법 변환을 하는 핵심 함수 convertAtoI()와 convertItoA()의 소스가 자체 제작되어 포함되어 있다. 이를 이용하는 부분은 152~153째 줄에 있는 val = convertAtoI(s, srcRdx) ret = convertItoA(val, destRdx) 이다. 지원되는 진법은 2진법에서 36진법 까지이다..