v3.21.1

Related Party Transactions (Schedule of Notes Payable Obligations to Related Parties Assumed in Acquisition) (Details) - USD ($) | Mar. 31, 2021 | Jun. 30, 2020
--- | --- | ---
Related Party Transaction [Line Items] |  |
Other short term payables due to stockholders and related parties | $ 88,991 | $ 107,733
Total Related Party Notes Payable and Other Payables | 3,984,760 | 3,347,812
Current Portion of Related Party Notes Payable and Other Payables | 3,984,760 | 1,272,812
Long-term Portion of Related Party Notes Payable and Other Payables |  | 2,075,000
Long-term Note Payable to Related Party - 1 [Member] |  |
Related Party Transaction [Line Items] |  |
Total Related Party Notes Payable and Other Payables | 400,000 | 400,000
Long-term Note Payable to Related Party - 2 [Member] |  |
Related Party Transaction [Line Items] |  |
Total Related Party Notes Payable and Other Payables | 1,030,079 | 1,030,079
Long-term Note Payable to Related Party - 3 [Member] |  |
Related Party Transaction [Line Items] |  |
Total Related Party Notes Payable and Other Payables | 1,225,000 | 1,225,000
Long-term Note Payable to Related Party - 4 [Member] |  |
Related Party Transaction [Line Items] |  |
Total Related Party Notes Payable and Other Payables | 200,000 | 200,000
Long-term Note Payable to Related Party - 5 [Member] |  |
Related Party Transaction [Line Items] |  |
Total Related Party Notes Payable and Other Payables | 385,000 | 385,000
Long-term Note Payable to Related Party - 6 [Member] |  |
Related Party Transaction [Line Items] |  |
Total Related Party Notes Payable and Other Payables | 500,000 |
Long-term Note Payable to Related Party - 7 [Member] |  |
Related Party Transaction [Line Items] |  |
Total Related Party Notes Payable and Other Payables | 111,164 |
Long-term Note Payable to Related Party - 8 [Member] |  |
Related Party Transaction [Line Items] |  |
Total Related Party Notes Payable and Other Payables | $ 44,526 |

X
- Definition Amount payable to related parties classified as other. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.15(3),(4)) -URI http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.17) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 + Details
Name: | us-gaap_DueToOtherRelatedPartiesCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount for notes payable (written promise to pay), due to related parties. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.17) -URI http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 + Details
Name: | us-gaap_NotesPayableRelatedPartiesCurrentAndNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount for notes payable (written promise to pay), payable to related parties, which are due after one year (or one business cycle). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(k)(1)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.23) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_NotesPayableRelatedPartiesNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of borrowings from a creditor other than a bank with a maturity within one year or operating cycle, if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.19(a)(2)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_ShortTermNonBankLoansAndNotesPayable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty4Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty5Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty6Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty7Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=gaxy_LongTermNotePayableToRelatedParty8Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |